diff --git a/apps/app-frontend/src/components/RowDisplay.vue b/apps/app-frontend/src/components/RowDisplay.vue index 174d3e1aef..8e3a4cc276 100644 --- a/apps/app-frontend/src/components/RowDisplay.vue +++ b/apps/app-frontend/src/components/RowDisplay.vue @@ -149,7 +149,7 @@ const handleOptionsClick = async (args) => { break case 'edit': await router.push({ - path: `/instance/${encodeURIComponent(args.item.path)}/`, + path: `/instance/${encodeURIComponent(args.item.path)}`, }) break case 'duplicate': diff --git a/apps/app-frontend/src/providers/content-install.ts b/apps/app-frontend/src/providers/content-install.ts index a4968614aa..ac36c29d9f 100644 --- a/apps/app-frontend/src/providers/content-install.ts +++ b/apps/app-frontend/src/providers/content-install.ts @@ -486,7 +486,7 @@ export function createContentInstall(opts: { if (!id) return await add_project_from_version(id, version.id, 'standalone') - await opts.router.push(`/instance/${encodeURIComponent(id)}/`) + await opts.router.push(`/instance/${encodeURIComponent(id)}`) const instance = await get(id) await installVersionDependencies(instance, version, 'dependency') @@ -513,7 +513,7 @@ export function createContentInstall(opts: { function handleNavigate(instance: ContentInstallInstance) { modalRef?.hide() - opts.router.push(`/instance/${encodeURIComponent(instance.id)}/`) + opts.router.push(`/instance/${encodeURIComponent(instance.id)}`) } function handleCancel() { @@ -666,7 +666,7 @@ export function createContentInstall(opts: { }, handleModpackDuplicateGoToInstance(instancePath: string) { pendingModpackInstall = null - opts.router.push(`/instance/${encodeURIComponent(instancePath)}/`) + opts.router.push(`/instance/${encodeURIComponent(instancePath)}`) }, setIncompatibilityWarningModal(ref: IncompatibilityWarningModalRef) { incompatibilityWarningModalRef = ref