r
This commit is contained in:
parent
79fa135301
commit
05db13018d
2 changed files with 1 additions and 19 deletions
18
.github/workflows/docker-image.yml
vendored
18
.github/workflows/docker-image.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
name: Database
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Build the Docker image
|
|
||||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
|
2
index.js
2
index.js
|
@ -106,7 +106,7 @@ async function searchElement(request, response) {
|
||||||
app.post('/api/database/set', async (request, response) => {
|
app.post('/api/database/set', async (request, response) => {
|
||||||
console.log('\n\n\n\n\n\n\n\n\n\n\n\n\n\n'+request)
|
console.log('\n\n\n\n\n\n\n\n\n\n\n\n\n\n'+request)
|
||||||
reply = 'Ok'
|
reply = 'Ok'
|
||||||
await db.set('Output', request)
|
//await db.set('Output', request)
|
||||||
response.send(reply);
|
response.send(reply);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue