fixed intro not hiding and socket not allowed on prod

This commit is contained in:
Djalim Simaila 2023-01-14 15:26:06 +01:00
parent a7a428357d
commit e763c71a59
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class TruthSeekerApp(flask.Flask):
self.config["SECRET_KEY"] = os.getenv("FLASK_SECRET")
self.socketio_app = SocketIO(self)
self.socketio_app = SocketIO(self,cors_allowed_origins=["https://truthinquiry.simailadjalim.fr"])
self.discord_bot = discord_bot.DiscordBot()
token = os.getenv("DISCORD_BOT_TOKEN")

View File

@ -23,7 +23,7 @@ function hideIntroduction(){
document.getElementsByClassName("introduction")[0].classList.add("hidden");
}
function setListenerToIntroductionNextBtn(){
document.getElementById("introduction_next_btn").addEventListener("click", showInterogation)
document.getElementById("introduction_next_btn").addEventListener("click", showInterogationView)
}
function setListenerToInterrogationNextBtn(){