Skip to content

Commit

Permalink
Remove lobby_api querying
Browse files Browse the repository at this point in the history
This is unused since new website (was bugged anyway) and currently stops moving the website to Kubernetes.
  • Loading branch information
Brutus5000 committed Nov 13, 2023
1 parent d7ccb9b commit ccc3adf
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 70 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ HOST=http://localhost:3000
API_URL=https://api.test.faforever.com
OAUTH_URL=https://hydra.test.faforever.com
WP_URL=https://direct.faforever.com
LOBBY_API_URL=http://lobby.faforever.com:4000
CALLBACK=auth
OAUTH_CLIENT_ID=faf-website
OAUTH_CLIENT_SECRET=banana
Expand Down
2 changes: 0 additions & 2 deletions .env.faf-stack
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ OAUTH_PUBLIC_URL=http://localhost:4444
# unsing the "production" wordpress because the faf-local-stack is just an empty instance without any news etc.
WP_URL=https://direct.faforever.com

LOBBY_API_URL=http://faf-python-server:4000

OAUTH_CLIENT_ID=faf-website
OAUTH_CLIENT_SECRET=banana
SESSION_SECRET_KEY=banana
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Local requirements:
- docker
- docker compose

The website has dependencies to Hydra, [Lobby](https://github.com/FAForever/server), Wordpress and the [Java-API](https://github.com/FAForever/faf-java-api).
The website has dependencies to Hydra, Wordpress and the [Java-API](https://github.com/FAForever/faf-java-api).
You can run those with the [local-stack](https://github.com/FAForever/faf-stack).

If you got the [local-stack](https://github.com/FAForever/faf-stack) up and running, we need to stop the "faf-website" and replace it with a development container.
Expand Down
1 change: 0 additions & 1 deletion express.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ app.get('/account/connect', loggedIn, require(routes + 'account/get/connectSteam
//app.get('/account/connectSteam', loggedIn, require(routes + 'account/get/connectSteam'));
app.get('/account/resync', loggedIn, require(routes + 'account/get/resync'));
// Not Protected
app.get('/lobby_api', cors(), require('./routes/lobby_api'));
app.get('/account/create', require(routes + 'account/get/createAccount'));
app.get('/account_activated', require(routes + 'account/get/register'));
app.get('/account/register', require(routes + 'account/get/register'));
Expand Down
65 changes: 0 additions & 65 deletions routes/lobby_api.js

This file was deleted.

0 comments on commit ccc3adf

Please sign in to comment.