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 (1837) [earned 5 cycles]
View Answer
ruiwenge2 (1837)

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