fixed pathPrefix

web/dev
cat-milk 2 years ago
parent 97bf2cc07d
commit 246fe410a3

@ -2,9 +2,9 @@
module.exports = { module.exports = {
siteMetadata: { siteMetadata: {
title: `Anime Girls Holding Programming Books`, title: `Anime Girls Holding Programming Books`,
siteUrl: `https://www.yourdomain.tld`, siteUrl: `https://cat-milk.github.io/`,
pathPrefix: '/Anime-Girls-Holding-Programming-Books/',
}, },
pathPrefix: '/Anime-Girls-Holding-Programming-Books/',
plugins: [ plugins: [
'gatsby-plugin-postcss', 'gatsby-plugin-postcss',
'gatsby-plugin-image', 'gatsby-plugin-image',
@ -20,6 +20,7 @@ module.exports = {
path: `..`, path: `..`,
ignore: [ ignore: [
'**/.*', '**/.*',
'**/docs',
'../**/node_modules/**', '../**/node_modules/**',
'../node_modules/**', '../node_modules/**',
'**/webviewer/**', '**/webviewer/**',

@ -13,7 +13,7 @@
"serve": "gatsby serve", "serve": "gatsby serve",
"clean": "gatsby clean", "clean": "gatsby clean",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"deploy": "gatsby build --prefix-paths && gh-pages -d public --dest ../docs --branch web/prod" "deploy": "gatsby build --prefix-paths && gh-pages -d public --dest ./docs --branch web/prod"
}, },
"dependencies": { "dependencies": {
"@mdx-js/mdx": "^1.6.22", "@mdx-js/mdx": "^1.6.22",

Loading…
Cancel
Save