Skip to content

Commit

Permalink
Add output paths for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiah-carlson committed Sep 16, 2023
1 parent dee05ff commit afae8fe
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-static-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ jobs:
- run: npm run build
- uses: actions/upload-artifact@v3
with:
path: ./www/dist

path: ./www/dist
7 changes: 4 additions & 3 deletions www/src/configs/scanners/concert.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const conf = {
debug: false,
output: {
origin: origin,
path: 'scan/output/',
origin: "http://localhost:8080/",
path: 'qrscan',
},
delims: {
settings: '@@',
Expand All @@ -29,7 +29,8 @@ const conf = {
input: {
labels: ['ticketNo', 'section', 'seat'],
constants: {
'company': 'Ticket CO.',
queueId: 'concert',
company: 'Ticket CO.',
},
},
};
Expand Down
4 changes: 2 additions & 2 deletions www/src/configs/scanners/concert_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const conf = {
routePrefix: "/test",
debug: true,
output: {
origin: origin,
path: 'scan/output/',
origin: "http://localhost:8080/",
path: 'qrscan',
},
delims: {
settings: '@@',
Expand Down
4 changes: 2 additions & 2 deletions www/src/configs/scanners/default.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const conf = {
debug: true,
output: {
origin: origin,
path: 'scan/output/',
origin: "http://localhost:8080/",
path: 'qrscan',
},
delims: {
settings: '@@',
Expand Down
2 changes: 1 addition & 1 deletion www/src/logic/PostMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function PostMain(queue){
})
} else {
console.log('Request queue is empty');
setTimeout(()=>{PostMain(queue)}, 2*60*1000);
setTimeout(()=>{PostMain(queue)}, 60*1000);
}

};

0 comments on commit afae8fe

Please sign in to comment.