Skip to content

Configuration #107

Answered by PhlexPlexico
thboss asked this question in Help
Jul 5, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The clientHome is a URL to use on redirects during authentication. This is what your front-end URL is supposed to be. In this case, G5V uses localhost:8080 to run its development server on, so it is set to that. If you wish to use this over the network, and not just your machine, set it to your front-ends local IP address. CORS is also enabled for that URL specifically, to prevent any unauthorized usage of the API.

Since you're just using the API to login and redirect back to it, you can just set it to the API URL - in this case if it's running on port 3300, it would be http://yourhost.me:3300.

The apiURL portion in the config is the URL that is going to be sent to the counter-strike s…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@thboss
Comment options

@thboss
Comment options

@PhlexPlexico
Comment options

Answer selected by thboss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants