mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
Make redirect updating more verbose
This commit is contained in:
parent
1934f19338
commit
82cc1162c1
1 changed files with 2 additions and 0 deletions
|
@ -22,7 +22,9 @@ const extraAppRoutes = [
|
|||
const routeJsonPreProcessed = routeJson.map(
|
||||
route => {
|
||||
if (route.redirect) {
|
||||
process.stdout.write(`Updating: ${route.redirect} to `);
|
||||
route.redirect.replace('RADISH_URL', RADISH_URL);
|
||||
process.stdout.write(`${route.redirect}\n`);
|
||||
}
|
||||
return route;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue