summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-25 23:10:31 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-25 23:10:31 +0900
commita633f184ab40876ee87d6e9c33aa88ec0f494fc0 (patch)
tree1e1e03233d4478ccc060b181a53a3bf12afe6c61 /gulpfile.ts
parentPass hostname instead of host to vhost module (diff)
downloadsharkey-a633f184ab40876ee87d6e9c33aa88ec0f494fc0.tar.gz
sharkey-a633f184ab40876ee87d6e9c33aa88ec0f494fc0.tar.bz2
sharkey-a633f184ab40876ee87d6e9c33aa88ec0f494fc0.zip
Allow to use domain whose prefix is not misskey
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/gulpfile.ts b/gulpfile.ts
index b70e5d8bcb..c10d0a98d0 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -124,6 +124,7 @@ gulp.task('build:client:script', () =>
.pipe(replace('VERSION', JSON.stringify(version)))
.pipe(replace('API', JSON.stringify(config.api_url)))
.pipe(replace('ENV', JSON.stringify(env)))
+ .pipe(replace('HOST', JSON.stringify(config.host)))
.pipe(isProduction ? uglify({
toplevel: true
} as any) : gutil.noop())