Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:alembic: Adjusted route

Liyas Thomas0a91fb66e383
diff --git a/nuxt.config.js b/nuxt.config.js
index 968032001..1896c219a 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -12,7 +12,7 @@ export const meta = {
let repoName = (process.env.TRAVIS_REPO_SLUG || '').split('/').pop();
export const routerBase = process.env.DEPLOY_ENV === 'GH_PAGES' ? {
router: {
- base: `/`
+ base: `/${repoName}/`
}
} : {
router: {
@@ -24,9 +24,6 @@ export default {
/*
** Headers of the page
*/
- router: {
- base: '/'
- },
head: {
title: `${meta.name} \u2022 ${meta.shortDescription}`,
meta: [