Skip to content
Snippets Groups Projects
Commit 509d3971 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

launcher: add options for autoCheckOutMinutes and deleteCheckInDataAfterDays

This is usually something the admin wants to either know, or change,
so expose it in the launcher.
parent bb5bf9f9
No related branches found
No related tags found
No related merge requests found
Pipeline #195259 passed
......@@ -13,6 +13,10 @@ CAMPUSQR_PORT="8070"
CAMPUSQR_QRTHEME="tugraz"
# Wethere QR codes for locations with multiple seats should be printed as A5
CAMPUSQR_MULTI_SEAT_A5=1
# When a user should be checked out automatically
CAMPUSQR_AUTOCHECKOUT_MINUTES=480
# When the checkin data should be deleted from the database
CAMPUSQR_DELETE_CHECKIN_DATA_AFTER_DAYS=28
# The public URL
CAMPUSQR_BASE_URL="https://campusqr-dev.tugraz.at"
# The token for API access
......
......@@ -19,6 +19,16 @@ let config = [
stringValue: null,
intValue: $CAMPUSQR_MULTI_SEAT_A5,
},
{
_id: "autoCheckOutMinutes",
stringValue: null,
intValue: $CAMPUSQR_AUTOCHECKOUT_MINUTES,
},
{
_id: "deleteCheckInDataAfterDays",
stringValue: null,
intValue: $CAMPUSQR_DELETE_CHECKIN_DATA_AFTER_DAYS,
},
{
_id: "baseUrl",
stringValue: '$CAMPUSQR_BASE_URL',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment