Ask coding questions

← Back to all posts
Password protect in the render_template element of flask
MrBigJuicyGrap3 (0)

Hi, so I made another post about the render_template element in flask. I was wondering how I would add js files. My other question is how can I add a password-protect to the website.

Answered by ruiwenge2 (1135) [earned 5 cycles]
View Answer
Comments
hotnewtop
ruiwenge2 (1135)

for js files just create a file ending with .js in the static folder

MrBigJuicyGrap3 (0)

@ruiwenge2 tysm, i realised that this was better in 2 posts lol