Remove dead BASE_URL and EXCLUDE_PATHS
1 minute read
Three files declare const BASE_URL = '' and use it in string
concatenations — all no-ops. A separate EXCLUDE_PATHS list points at routes that don't exist in this project (carryover from the
parent template).
Current State
src/lib/url-utils.js:1src/lib/page-renderer.svelte.js:8src/routes/feed.xml/+server.js:23page-renderer.svelte.js:10-24—EXCLUDE_PATHSwith/blog/,/learning-center/...,/reviews/
Tasks
- Delete the three
BASE_URLdeclarations and their usages - Delete
EXCLUDE_PATHSor replace with real exclusions
Read next
