fix static path

This commit is contained in:
fram3d 2023-12-28 04:53:46 +01:00
parent b33110f8f4
commit 7f1ab45d53
Signed by: fram3d
GPG Key ID: 938920E709EEA32A
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
from flask import Flask
app = Flask(__name__)
app = Flask(__name__, static_url_path='/account/static')
from luser import routes

View File

@ -21,7 +21,7 @@
<input type="password" name="confirmpassword" id="confirmpassword" placeholder="confirmpassword" required>
<p>password must be at least 8 characters long<p>
<br>
<img src=/account/register/captcha_img/{{ imgsrc }} alt="{{ captchahash }}" style="width:200;margin:auto;">
<img src=/account/static/register/captcha_img/{{ imgsrc }} alt="{{ captchahash }}" style="width:200;margin:auto;">
<p>
<label for="captcha answer">captcha answer</label>
<input type="text" name="captchaa" id="captchaa" placeholder="captcha answer" required>