Mert
Member
Hi.
I am trying to redirect the player depending on the URI query component that they arrive. This can be in other situations as well. By default, my game's URL is as the follows:
Now, I wish to achieve something like this.
/play : Indicates the menu, /mage : Indicates the class that the player wants.
I'll probably need to use URLSearchParams Javascript functions. I can very well write Javascript extensions; no worries.
What would I need? Thanks
I am trying to redirect the player depending on the URI query component that they arrive. This can be in other situations as well. By default, my game's URL is as the follows:
Code:
https://mygameurl.com/index.html
Code:
https://mygameurl.com/play/mage
I'll probably need to use URLSearchParams Javascript functions. I can very well write Javascript extensions; no worries.
What would I need? Thanks