Skip to content
Snippets Groups Projects
Commit 127a7033 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Make watch work with all app environments

We have to force the base path in that case so the dev server
can handle it.
parent 149db1f6
No related branches found
No related tags found
No related merge requests found
Pipeline #16148 passed
......@@ -58,6 +58,10 @@ if (config.nextcloudBaseURL) {
config.nextcloudWebDavURL = '';
}
if (watch) {
config.basePath = '/dist/';
}
function getOrigin(url) {
if (url)
return new URL(url).origin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment