Skip to content

Commit d657839

Browse files
committed
Fixed double base path issue
1 parent 3b42404 commit d657839

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

src/config/routing.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
// Base URL values for all base pages
2-
import { basePath } from 'config/app';
3-
4-
export const baseUrlAnimals = basePath + '/animals';
5-
export const baseUrlFirearms = basePath + '/firearms';
6-
export const baseUrlLifeCycle = basePath + '/life-cycle';
2+
export const baseUrlAnimals = '/animals';
3+
export const baseUrlFirearms = '/firearms';
4+
export const baseUrlLifeCycle = '/life-cycle';
75

86
// Base URL values for all map pages
9-
export const baseUrlAfrica = basePath + '/africa';
10-
export const baseUrlAlaska = basePath + '/alaska';
11-
export const baseUrlFinland = basePath + '/lintukoto';
12-
export const baseUrlIdaho = basePath + '/nez-perce-valley';
13-
export const baseUrlNewZealand = basePath + '/new-zealand';
14-
export const baseUrlTransylvania = basePath + '/transylvania';
7+
export const baseUrlAfrica = '/africa';
8+
export const baseUrlAlaska = '/alaska';
9+
export const baseUrlFinland = '/lintukoto';
10+
export const baseUrlIdaho = '/nez-perce-valley';
11+
export const baseUrlNewZealand = '/new-zealand';
12+
export const baseUrlTransylvania = '/transylvania';

src/lib/routing.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { AppRouterInstance } from 'next/dist/shared/lib/app-router-context.shared-runtime';
2-
import type { NextRouter } from 'next/router';
32
import { fauna } from 'config/animals';
43
import {
54
baseUrlAfrica,

0 commit comments

Comments
 (0)