fix 404s caused by public root path, add config

This commit is contained in:
Xevion
2020-08-14 22:55:23 -05:00
parent cc960de693
commit 4971d2f5d1
6 changed files with 4 additions and 336 deletions

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>History of Robotics - Spirit & Sojourner</title><style>@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&display=swap');
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/history-of-robotics/favicon.ico><title>History of Robotics - Spirit & Sojourner</title><style>@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&display=swap');
/* Shamelessly stolen from Tim Hazledine */
/* Source: https://codepen.io/tomhazledine/pen/dvKZLg */
@@ -191,4 +191,4 @@
padding: 0;
border: 0;
vertical-align: baseline;
}</style><link href=/css/app.46a3a532.css rel=preload as=style><link href=/css/chunk-vendors.db58f2bd.css rel=preload as=style><link href=/js/app.3fa0ac85.js rel=preload as=script><link href=/js/chunk-vendors.79cd4aa9.js rel=preload as=script><link href=/css/chunk-vendors.db58f2bd.css rel=stylesheet><link href=/css/app.46a3a532.css rel=stylesheet></head><body><noscript><strong>We're sorry but history-of-robotics doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app><div id=loader><div class=logo><div class="stars stars-1"></div><div class="stars stars-2"></div><div class="stars stars-3"></div><div class=swooshes><span class="swoosh swoosh-1"></span> <span class="swoosh swoosh-2"></span> <span class="swoosh swoosh-3"></span> <span class="swoosh swoosh-4"></span></div><h1 class=text>nasa</h1><div class=orbit-outer><div class=orbit-wrapper><div class=orbit></div></div></div></div></div></div><script src=/js/chunk-vendors.79cd4aa9.js></script><script src=/js/app.3fa0ac85.js></script></body></html>
}</style><link href=/history-of-robotics/css/app.46a3a532.css rel=preload as=style><link href=/history-of-robotics/css/chunk-vendors.db58f2bd.css rel=preload as=style><link href=/history-of-robotics/js/app.87118cc0.js rel=preload as=script><link href=/history-of-robotics/js/chunk-vendors.497ff8e8.js rel=preload as=script><link href=/history-of-robotics/css/chunk-vendors.db58f2bd.css rel=stylesheet><link href=/history-of-robotics/css/app.46a3a532.css rel=stylesheet></head><body><noscript><strong>We're sorry but history-of-robotics doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app><div id=loader><div class=logo><div class="stars stars-1"></div><div class="stars stars-2"></div><div class="stars stars-3"></div><div class=swooshes><span class="swoosh swoosh-1"></span> <span class="swoosh swoosh-2"></span> <span class="swoosh swoosh-3"></span> <span class="swoosh swoosh-4"></span></div><h1 class=text>nasa</h1><div class=orbit-outer><div class=orbit-wrapper><div class=orbit></div></div></div></div></div></div><script src=/history-of-robotics/js/chunk-vendors.497ff8e8.js></script><script src=/history-of-robotics/js/app.87118cc0.js></script></body></html>

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,6 @@
module.exports = {
outputDir: './docs/',
publicPath: '/history-of-robotics/',
chainWebpack: config => {
config.module
.rule('vue')