From 272eb063e7f6d682dfa4aff4b0d9835fb5eec62d Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Thu, 29 Jun 2023 10:25:18 +0200 Subject: [PATCH] Fix prefix issue --- src/PrefixView.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PrefixView.ts b/src/PrefixView.ts index 0e10a2e..287d27e 100644 --- a/src/PrefixView.ts +++ b/src/PrefixView.ts @@ -7,6 +7,8 @@ export class PrefixView { prefix: string; view: View; constructor(prefix: string, view: View) { + if(!prefix.endsWith('/')) + prefix += "/"; this.prefix = prefix; this.view = view; }