forked from smogon/pokemon-showdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- /static/custom.css is now located at /config/custom.css - /static/avatars/ is now located at /config/avatars/ - The redirect script now redirects all room URIs, not just the root path. For example, if you are running a server on localhost port 8000, visiting http://localhost:8000/teambuilder will now take you to the teambuilder. This works for any room.
- Loading branch information
Showing
7 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* Custom CSS declarations | ||
* | ||
* If your server is registered, you can create a file named `custom.css` | ||
* in the `config` directory and populate it with CSS rules to override the | ||
* normal client styles, when the client is connected to your server. In | ||
* other words, you can use this facility to introduce a custom theme for | ||
* your server. | ||
*/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!DOCTYPE html> | ||
<script> | ||
var suffix = (document.location.port != '8000' ? '-' + (document.location.port || '80') : ''); | ||
document.location.replace('http://' + document.location.hostname + suffix + '.psim.us'); | ||
document.location.replace('http://' + document.location.hostname + suffix + '.psim.us' + document.location.pathname); | ||
</script> | ||
<p>This is a <a href="http://www.pokemonshowdown.com">Pokemon Showdown</a> server!</p> | ||
<noscript><p>Try enabling JavaScript to play!</p></noscript> |