diff --git a/Dockerfile b/Dockerfile index 3d936245..ccd975ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN mkdir -p /opt/stackedit/stackedit_v4 WORKDIR /opt/stackedit/stackedit_v4 ENV SERVE_V4 true -ENV V4_VERSION 4.3.21 +ENV V4_VERSION 4.3.22 RUN npm pack stackedit@$V4_VERSION \ && tar xzf stackedit-*.tgz --strip 1 \ && yarn \ diff --git a/server/index.js b/server/index.js index fb159f17..55889047 100644 --- a/server/index.js +++ b/server/index.js @@ -41,6 +41,8 @@ module.exports = (app, serveV4) => { // Serve landing.html app.get('/', (req, res) => res.sendFile(resolvePath('static/landing/index.html'))); + // Serve sitemap.xml + app.get('/sitemap.xml', (req, res) => res.sendFile(resolvePath('static/sitemap.xml'))); // Serve callback.html app.get('/oauth2/callback', (req, res) => res.sendFile(resolvePath('static/oauth2/callback.html'))); // Google Drive action receiver diff --git a/static/landing/index.html b/static/landing/index.html index 23e713b7..d22aad8e 100644 --- a/static/landing/index.html +++ b/static/landing/index.html @@ -12,6 +12,7 @@ +