Skip to content

Commit

Permalink
Accept outputDir from ASQ, with fallback provided
Browse files Browse the repository at this point in the history
  • Loading branch information
rudokemper committed May 2, 2024
1 parent 1d62ad7 commit 549a702
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/azure_queue_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ const processQueueMessages = async () => {
maxZoom,
ratio,
tiletype,
outputDir,
outputFilename;
let boundsArray = [];
const outputDir = "/maps"; // TODO: Get this from environment variable (or confirm that we are happy with this default value)

// Decode, parse, and validate the message
try {
Expand All @@ -68,6 +68,7 @@ const processQueueMessages = async () => {
monthYear,
overlay,
openStreetMap,
outputDir = "maps/",
bounds,
minZoom = 0,
maxZoom,
Expand Down

0 comments on commit 549a702

Please sign in to comment.