mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
fix: allow prefix in serve (#1482)
* fix: allow prefix in serve * chore: redo regex and clean * chore: fix test * fix: use correct prefix characters and URLs * fix: use correct prefix characters and URLs * chore: remove core * chore: fix header url
This commit is contained in:
@@ -210,7 +210,7 @@ module.exports = async ({
|
||||
// but until then, we need to take care of it here!
|
||||
authInstance.rest.interceptors.request.use((_req) => {
|
||||
// eslint-disable-next-line no-param-reassign, dot-notation
|
||||
_req[1]['headers'] = { origin: 'http://localhost:8000' };
|
||||
_req[1]['headers'] = { origin: url };
|
||||
return _req;
|
||||
});
|
||||
await authInstance.authorize(authLink);
|
||||
|
||||
Reference in New Issue
Block a user