diff --git a/netlify.toml b/netlify.toml index b86c5d1..b416a8b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -27,7 +27,7 @@ ID = "webmaker" force = true [[redirects]] - from = "/app/creation/*" - to = "/app/:splat" + from = "/create" + to = "/app" status = 200 force = true \ No newline at end of file diff --git a/src/index.js b/src/index.js index 14ba1ad..dc51293 100644 --- a/src/index.js +++ b/src/index.js @@ -13,8 +13,8 @@ export default function () { return ( - - + + ); diff --git a/src/templateList.js b/src/templateList.js index 0c481e7..07b6162 100644 --- a/src/templateList.js +++ b/src/templateList.js @@ -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 } ];