mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-27 00:30:09 +02:00
setup redirects
This commit is contained in:
@@ -27,7 +27,7 @@ ID = "webmaker"
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/app/creation/*"
|
||||
to = "/app/:splat"
|
||||
from = "/create"
|
||||
to = "/app"
|
||||
status = 200
|
||||
force = true
|
@@ -13,8 +13,8 @@ export default function () {
|
||||
return (
|
||||
<Router>
|
||||
<App path="/" />
|
||||
<App path="/creation/:itemId" />
|
||||
<App path="/app/creation/:itemId" />
|
||||
<App path="/create/:itemId" />
|
||||
<App path="/app/create/:itemId" />
|
||||
<App default />
|
||||
</Router>
|
||||
);
|
||||
|
@@ -2,23 +2,23 @@ export default [
|
||||
{
|
||||
id: 'react',
|
||||
title: 'React',
|
||||
img: 'assets/react-logo.svg'
|
||||
img: '/assets/react-logo.svg'
|
||||
},
|
||||
{
|
||||
id: 'vue',
|
||||
title: 'Vue',
|
||||
img: 'assets/vue-logo.svg',
|
||||
img: '/assets/vue-logo.svg',
|
||||
isFileModeSupported: true
|
||||
},
|
||||
{
|
||||
id: 'preact',
|
||||
title: 'Preact',
|
||||
img: 'assets/preact-logo.svg'
|
||||
img: '/assets/preact-logo.svg'
|
||||
},
|
||||
{
|
||||
id: 'kontra-game-engine',
|
||||
title: 'Kontra Game Engine',
|
||||
img: 'assets/html5-logo.svg',
|
||||
img: '/assets/html5-logo.svg',
|
||||
isFileModeSupported: true
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user