v5: test after admin account migration
This commit is contained in:
@@ -6,7 +6,7 @@ COPY package.json ./
|
|||||||
COPY index.js ./
|
COPY index.js ./
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV APP_VERSION=v4
|
ENV APP_VERSION=v5
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|||||||
2
index.js
2
index.js
@@ -14,7 +14,7 @@ const server = http.createServer((req, res) => {
|
|||||||
|
|
||||||
res.writeHead(200, { 'Content-Type': 'application/json; charset=utf-8' });
|
res.writeHead(200, { 'Content-Type': 'application/json; charset=utf-8' });
|
||||||
res.end(JSON.stringify({
|
res.end(JSON.stringify({
|
||||||
message: 'Hello World v4 via domain reverse proxy!',
|
message: 'Hello World v5 after admin rename!',
|
||||||
version: VERSION,
|
version: VERSION,
|
||||||
hostname: os.hostname(),
|
hostname: os.hostname(),
|
||||||
startedAt,
|
startedAt,
|
||||||
|
|||||||
Reference in New Issue
Block a user