fixed intro not hiding and socket not allowed on prod
This commit is contained in:
parent
a7a428357d
commit
e763c71a59
@ -23,7 +23,7 @@ class TruthSeekerApp(flask.Flask):
|
|||||||
|
|
||||||
self.config["SECRET_KEY"] = os.getenv("FLASK_SECRET")
|
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()
|
self.discord_bot = discord_bot.DiscordBot()
|
||||||
token = os.getenv("DISCORD_BOT_TOKEN")
|
token = os.getenv("DISCORD_BOT_TOKEN")
|
||||||
|
@ -23,7 +23,7 @@ function hideIntroduction(){
|
|||||||
document.getElementsByClassName("introduction")[0].classList.add("hidden");
|
document.getElementsByClassName("introduction")[0].classList.add("hidden");
|
||||||
}
|
}
|
||||||
function setListenerToIntroductionNextBtn(){
|
function setListenerToIntroductionNextBtn(){
|
||||||
document.getElementById("introduction_next_btn").addEventListener("click", showInterogation)
|
document.getElementById("introduction_next_btn").addEventListener("click", showInterogationView)
|
||||||
}
|
}
|
||||||
|
|
||||||
function setListenerToInterrogationNextBtn(){
|
function setListenerToInterrogationNextBtn(){
|
||||||
|
Loading…
Reference in New Issue
Block a user