mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Update Blockly Games URL. (#4557)
Currently there's a double-redirect (Blockly sends the user to appspot, Blockly Games then sends the user to its own domain).
This commit is contained in:
@@ -49,13 +49,13 @@ if (loc.match('/apps/plane/plane.html')) {
|
|||||||
|
|
||||||
if (loc.match('/apps/puzzle/')) {
|
if (loc.match('/apps/puzzle/')) {
|
||||||
// Puzzle moved to Blockly Games on 15 Oct 2014.
|
// Puzzle moved to Blockly Games on 15 Oct 2014.
|
||||||
loc = 'https://blockly-games.appspot.com/puzzle';
|
loc = 'https://blockly.games/puzzle';
|
||||||
} else if (loc.match('/apps/maze/')) {
|
} else if (loc.match('/apps/maze/')) {
|
||||||
// Maze moved to Blockly Games on 10 Nov 2014.
|
// Maze moved to Blockly Games on 10 Nov 2014.
|
||||||
loc = 'https://blockly-games.appspot.com/maze';
|
loc = 'https://blockly.games/maze';
|
||||||
} else if (loc.match('/apps/turtle/')) {
|
} else if (loc.match('/apps/turtle/')) {
|
||||||
// Turtle moved to Blockly Games on 10 Nov 2014.
|
// Turtle moved to Blockly Games on 10 Nov 2014.
|
||||||
loc = 'https://blockly-games.appspot.com/turtle';
|
loc = 'https://blockly.games/turtle';
|
||||||
} else if (loc.match('/apps/')) {
|
} else if (loc.match('/apps/')) {
|
||||||
// Remaining apps moved to demos on 20 Nov 2014.
|
// Remaining apps moved to demos on 20 Nov 2014.
|
||||||
loc = loc.replace('/apps/', '/demos/');
|
loc = loc.replace('/apps/', '/demos/');
|
||||||
|
|||||||
Reference in New Issue
Block a user