This commit is contained in:
maaa 2023-07-10 15:33:13 +02:00
parent a92561f40a
commit 48b53eff78
1 changed files with 1 additions and 1 deletions

2
main
View File

@ -161,7 +161,7 @@ def apipageuser(userid):
pageuser = get_user(userid) pageuser = get_user(userid)
addhtml = """ addhtml = """
<!DOCTYPE html><script> <!DOCTYPE html><script>
window.location.replace("http://localhost:8080/" """ + pageuser["id"] + """ window.location.replace("http://localhost:8080/" """ + str(pageuser["id"]) + """
</script> </script>
<base target="_blank"/> <head><meta http-equiv="Content-Security-Policy" default-src='none'; content="img-src cdn.discordapp.com cdn.discordapp.net media.tenor.com; style-src: 'self';" /></head>""" <base target="_blank"/> <head><meta http-equiv="Content-Security-Policy" default-src='none'; content="img-src cdn.discordapp.com cdn.discordapp.net media.tenor.com; style-src: 'self';" /></head>"""