From baa2c8f1a062159bb3f30d30b7b4015722c416a8 Mon Sep 17 00:00:00 2001 From: Valery Kovalev Date: Mon, 26 Apr 2021 15:41:54 +0300 Subject: [PATCH] #85773 removed unneccessary disital ocean tamplate elements from generator page --- package.json | 2 +- src/nginxconfig/build/template.js | 2 +- src/nginxconfig/templates/app.vue | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b97f1bb..0a14de5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool", "build:clean": "do-vue clean", - "build:template": "do-vue template && node src/nginxconfig/build/template.js", + "build:template": "node src/nginxconfig/build/template.js", "build:prism": "node src/nginxconfig/build/prism.js", "build:static": "copyfiles --up 2 src/static/{*,**/*} dist", "build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean", diff --git a/src/nginxconfig/build/template.js b/src/nginxconfig/build/template.js index 9a6e179..4cdc4ee 100644 --- a/src/nginxconfig/build/template.js +++ b/src/nginxconfig/build/template.js @@ -33,7 +33,7 @@ const main = () => { let template = fs.readFileSync(path.join(buildDir, 'base.html'), 'utf8'); // Inject our title now - template = template.replace('DigitalOcean', 'NGINXConfig | DigitalOcean'); + template = template.replace('DigitalOcean', 'NGINXConfig | REG.RU'); // We don't need the head/script blocks, vue-cli-service handles those template = template.replace('', ''); diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue index 4cecc52..9d61308 100644 --- a/src/nginxconfig/templates/app.vue +++ b/src/nginxconfig/templates/app.vue @@ -110,9 +110,6 @@ THE SOFTWARE. - - -