web: fix zuul-build-dashboard homepage setting
A previous change broke the homepage update for zuul-build-dashboard ci results. Change-Id: Ie2344070425a2d0edab9c3edb15b0e2b577a02ce
This commit is contained in:
parent
da0baca57c
commit
8b0a30ce3d
|
@ -3,8 +3,8 @@
|
|||
- name: Update homepage for sub directory deployment
|
||||
replace:
|
||||
path: '{{ zuul.project.src_dir }}/web/package.json'
|
||||
regexp: '"homepage": "/"'
|
||||
replace: '"homepage": "./"'
|
||||
regexp: '^{$'
|
||||
replace: '{\n "homepage": "./",'
|
||||
# NOTE: using "./" is not enough to support html5 links, even with
|
||||
# rewrite rules for unknown files, accessing 'job/devstack' will make
|
||||
# the dashboard load static files from 'job/static/...'
|
||||
|
|
Loading…
Reference in New Issue