website: add trailing slash config

pull/225/head
Yangshun 4 years ago
parent a336676197
commit 25fdaa4666

@ -46,10 +46,10 @@ jobs:
git config --global user.name "gh-actions" git config --global user.name "gh-actions"
cd website cd website
if [ -e yarn.lock ]; then if [ -e yarn.lock ]; then
yarn install --frozen-lockfile yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then elif [ -e package-lock.json ]; then
npm ci npm ci
else else
npm i npm i
fi fi
npm run deploy npm run deploy

@ -3,6 +3,7 @@ module.exports = {
tagline: 'Curated interview preparation materials for busy engineers', tagline: 'Curated interview preparation materials for busy engineers',
url: 'https://techinterviewhandbook.org', url: 'https://techinterviewhandbook.org',
baseUrl: '/', baseUrl: '/',
trailingSlash: true,
favicon: 'img/favicon.png', favicon: 'img/favicon.png',
organizationName: 'yangshun', organizationName: 'yangshun',
projectName: 'tech-interview-handbook', projectName: 'tech-interview-handbook',

Loading…
Cancel
Save