diff --git a/README.md b/README.md index 12cb7b4..cc814d0 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ blaseball, blaseball, is back! in an unofficial capacity. this project is completely unaffiliated with the game band. -we have custom players (generated by onomancer), custom teams, custom leagues, all set up in discord and watchable at https://simsim.sibr.dev! +we have custom players (generated by onomancer), custom teams, custom leagues, all set up in discord and watchable at http://sim16.sakimori.space! if you would like to add matteo to your server to be able to set up teams and games, you can do so with this link: https://discord.com/api/oauth2/authorize?client_id=789956166796574740&permissions=388160&scope=bot diff --git a/main_controller.py b/main_controller.py index b666684..8855788 100644 --- a/main_controller.py +++ b/main_controller.py @@ -5,9 +5,10 @@ from flask import Flask, url_for, Response, render_template, request, jsonify, s from flask_socketio import SocketIO, emit import database as db -app = Flask("the-prestige", static_folder='simmadome/build') +app = Flask("the-prestige", static_folder='simmadome/build/', subdomain_matching=True) app.config['SECRET KEY'] = 'dev' -#app.config['SERVER_NAME'] = '0.0.0.0:5000' +#url = "sakimori.space:5000" +#app.config['SERVER_NAME'] = url socketio = SocketIO(app) # Serve React App @@ -113,7 +114,7 @@ def create_league(): ### SOCKETS -thread2 = threading.Thread(target=socketio.run,args=(app,'0.0.0.0')) +thread2 = threading.Thread(target=socketio.run,args=(app,"0.0.0.0", "80")) thread2.start() master_games_dic = {} #key timestamp : (game game, {} state) @@ -141,8 +142,8 @@ def update_loop(): state["home_score"] = this_game.teams["home"].score #update_pause = 0 #victory_lap = False if not this_game.play_has_begun: #weather_emoji - state["update_emoji"] = "🍿" #weather_text - state["update_text"] = "Play blall!" #they also need a timestamp + state["update_emoji"] = "🎆" #weather_text + state["update_text"] = "Play ball!" #they also need a timestamp state["start_delay"] -= 1 state["display_top_of_inning"] = state["top_of_inning"] diff --git a/simmadome/public/index.html b/simmadome/public/index.html index 825a173..0e14326 100644 --- a/simmadome/public/index.html +++ b/simmadome/public/index.html @@ -8,10 +8,10 @@ ⚾ The Simmadome - - + + - + diff --git a/simmadome/src/index.tsx b/simmadome/src/index.tsx index a6f4b73..af620c4 100644 --- a/simmadome/src/index.tsx +++ b/simmadome/src/index.tsx @@ -42,13 +42,13 @@ function Header() { Github - + Twitter -

THE SIMMADOME

-

Join SIBR on to start your own games!

+

THE OBSERVATORY

+

Join us on to start your own games!

); }