Hi, so I set up some html and css for my web app but when I access it with the default username.pythonanywhere.com, I just get the index.html file returned which isn't really a problem (but I am interested in how I could change which HTML is displayed in that case). The problem is that the CSS isn't getting applied to it, but when I access the same index.html through any other URL I get it returned with the CSS so the problem shouldn't be that some path is wrong.
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
return render_template('index.html')
This is the catch_all I am using and as I said it seems to work for any URL apart from <code>username.pythonanywhere.com</code> and <code>username.pythonanywhere.com/</code> . What could be a cause of this problem?