Allow unconventional base URL
the build was successful
Details
the build was successful
Details
parent
4ec1aac7e7
commit
e74d2d841a
|
@ -1,7 +1,7 @@
|
|||
|
||||
# [dri](https://hub.docker.com/r/productionwentdown/dri/) [![](https://images.microbadger.com/badges/version/productionwentdown/dri.svg)](https://microbadger.com/images/productionwentdown/dri "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/productionwentdown/dri.svg)](https://microbadger.com/images/productionwentdown/dri "Get your own image badge on microbadger.com") [![Build Status](https://ci.makerforce.io/api/badges/pwd/dri/status.svg)](https://ci.makerforce.io/pwd/dri)
|
||||
|
||||
A static Docker Distribution Registry viewer.
|
||||
Docker Registry Interface (dri) is a static-site Docker Distribution Registry viewer.
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ TAGS_PER_PAGE=${TAGS_PER_PAGE:=30}
|
|||
|
||||
[[ "$USE_PORTUS_EXPLORE" != "true" ]] && [[ "$USE_PORTUS_EXPLORE" != "false" ]] && USE_PORTUS_EXPLORE=false
|
||||
|
||||
sed -i "s~<base href=/>~<base href=\"$BASE_URL\">~" /srv/index.html
|
||||
sed -i "s~<base href=/ >~<base href=\"$BASE_URL\">~" /srv/index.html
|
||||
|
||||
cat > /etc/Caddyfile << EOF
|
||||
:80$BASE_URL {
|
||||
|
|
|
@ -19,7 +19,7 @@ async function config() {
|
|||
}
|
||||
|
||||
try {
|
||||
const response = await fetch('/config.json');
|
||||
const response = await fetch('config.json');
|
||||
const jsonConfig = await response.json();
|
||||
defaultConfig.merged = true;
|
||||
return Object.assign(defaultConfig, jsonConfig);
|
||||
|
|
|
@ -9,7 +9,7 @@ import Blob from '@/views/Blob.vue';
|
|||
Vue.use(Router);
|
||||
|
||||
export default new Router({
|
||||
mode: 'history',
|
||||
//mode: 'history',
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
module.exports = {
|
||||
lintOnSave: false,
|
||||
baseUrl: '',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue