mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Reverted dev code
This commit is contained in:
parent
7eda596d6c
commit
ffefd56192
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ secret.key
|
||||
*.iws
|
||||
.vscode/launch.json
|
||||
|
||||
/.vs
|
||||
|
@ -112,8 +112,6 @@ func RetrieveDiscordId(code string) (string, error) {
|
||||
}
|
||||
|
||||
func IsUserDiscordAdmin(discordId string, discordGuildID string) (bool, error) {
|
||||
return discordId == "256000469158068224", nil
|
||||
|
||||
// fetch all roles from discord
|
||||
roles, err := DiscordSession.GuildRoles(discordGuildID)
|
||||
if err != nil {
|
||||
|
6
beta.env
6
beta.env
@ -1,6 +1,6 @@
|
||||
VITE_BYPASS_LOGIN=0
|
||||
VITE_BYPASS_TUTORIAL=0
|
||||
VITE_SERVER_URL=http://192.168.1.101:8001
|
||||
VITE_SERVER_URL=http://{serverIP}:8001
|
||||
VITE_DISCORD_CLIENT_ID=1248062921129459756
|
||||
VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com
|
||||
VITE_I18N_DEBUG=1
|
||||
@ -9,5 +9,5 @@ dbaddr=db
|
||||
dbuser=pokerogue
|
||||
dbpass=pokerogue
|
||||
dbname=pokeroguedb
|
||||
gameurl=http://192.168.1.100:8000
|
||||
callbackurl=http://192.168.1.101:8001
|
||||
gameurl=http://{devMachineIP}:8000
|
||||
callbackurl=http://{serverIP}:8001
|
@ -1,8 +1,7 @@
|
||||
services:
|
||||
server:
|
||||
env_file:
|
||||
- beta.env
|
||||
image: rogueserver:latest
|
||||
command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb --gameurl http://localhost:8000 --callbackurl http://localhost:8001
|
||||
image: ghcr.io/pagefaultgames/rogueserver:master
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
|
Loading…
x
Reference in New Issue
Block a user