Skip to content

Commit 26036b0

Browse files
Persijn Kwekkeboompoi33
authored andcommitted
Manifest.json #675
Added relative start_url
1 parent 5fa537f commit 26036b0

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ node {
2121
dependencies {
2222
compile "com.enonic.xp:core-api:${xpVersion}"
2323
compile "com.enonic.xp:portal-api:${xpVersion}"
24-
implementation "com.enonic.xp:web-api:${xpVersion}"
2524
include "com.enonic.xp:lib-auth:${xpVersion}"
2625
include "com.enonic.xp:lib-content:${xpVersion}"
2726
include "com.enonic.xp:lib-context:${xpVersion}"

src/main/java/com/enonic/app/officeleague/VhostHandler.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/main/resources/lib/pwa/manifest-controller.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ var mustache = require('/lib/mustache');
33

44
exports.get = function(req) {
55

6-
var bean = __.newBean('com.enonic.app.officeleague.VhostHandler');
7-
const vhost = bean.getVirtualHost();
8-
9-
var startUrl = vhost + "/app";
6+
const startUrl = "./";
107

118
var params = {
129
startUrl,

0 commit comments

Comments
 (0)