diff options
Diffstat (limited to 'src/write/build-modes/live-dev-server.js')
-rw-r--r-- | src/write/build-modes/live-dev-server.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js index ec9689bd..a4c4c871 100644 --- a/src/write/build-modes/live-dev-server.js +++ b/src/write/build-modes/live-dev-server.js @@ -15,7 +15,6 @@ import {logInfo, logWarn, progressCallAll} from '../../util/cli.js'; import { getPagePathname, getPagePathnameAcrossLanguages, - getPageSubdirectoryPrefix, getURLsFrom, getURLsFromRoot, } from '../../util/urls.js'; @@ -245,12 +244,9 @@ export async function go({ } = urlToPageMap[pathnameKey]; const to = getURLsFrom({ - urls, baseDirectory, pagePath: servePath, - subdirectoryPrefix: getPageSubdirectoryPrefix({ - pagePath: servePath, - }), + urls, }); const absoluteTo = getURLsFromRoot({ |