diff --git a/server.py b/server.py index d132fe8..d3ce363 100644 --- a/server.py +++ b/server.py @@ -9,6 +9,8 @@ app = Flask(__name__) def hello(): return render_template('index.html') -@app.route('/static/') -def static(file_name): - return send_from_directory(os.getcwd()+"/static/"+file_name, file_name) \ No newline at end of file +@app.route('/statics/') +def statics(file_name): + return send_from_directory(os.getcwd()+"/static", file_name) + +app.run(host="localhost", port=9283) \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 368da07..b1d56b4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,7 @@ Nyako Page - +