Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-bullseye-slim
FROM node:18-bullseye-slim

ENV WORK=/opt/hsl-map-server
ENV DATA_DIR=${WORK}/data
Expand Down
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const hslMapStyle = require("hsl-map-style");

const { DATA_DIR } = require("./constants");

const sourcesUrl = "http://localhost:8080/";
const sourcesUrl = "http://127.0.0.1:8080/";

const rasterHeaders = { "headers": { "Cache-Control": "public,max-age=604800" } };
const vectorHeaders = { "headers": { "Cache-Control": "public,max-age=43200" } };
Expand Down
24 changes: 21 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hsl-map-server",
"version": "1.0.1",
"version": "1.0.2",
"description": "HSL map server",
"main": "config.js",
"scripts": {
Expand All @@ -21,16 +21,34 @@
"@turf/centroid": "^6.5.0",
"forever": "^4.0.3",
"hsl-map-style": "hsldevcom/hsl-map-style#master",
"lodash": "^4.17.21",
"lodash": "^4.18.1",
"request": "^2.88.2",
"requestretry": "^7.1.0",
"tessera": "hsldevcom/tessera",
"tilelive-geojson": "hsldevcom/tilelive-geojson",
"tilelive-gl": "hsldevcom/tilelive-gl"
},
"devDependencies": {
"eslint": "^8.33.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5"
},
"resolutions": {
"minimist": "^1.2.8",
"form-data": "^4.0.5",
"cross-spawn": "^7.0.6",
"minimatch": "^9.0.5",
"tar": "^7.5.11",
"tar-fs": "^2.1.4",
"semver": "^7.7.4",
"body-parser": "^1.20.3",
"path-to-regexp": ">=0.1.13",
"flatted": "^3.4.2",
"nconf": "^0.13.0",
"braces": "^3.0.3",
"sharp": "^0.32.6",
"socks": "^2.8.7",
"lodash": "^4.18.1",
"handlebars": "^4.7.9"
}
}
Loading