Skip to content
Open
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
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM node:buster
FROM node:bookworm

# Create app directory
WORKDIR /app

ENV NODE_OPTIONS=--openssl-legacy-provider

# Install app dependencies
# RUN npm -g install serve
RUN npm -g install gatsby-cli
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Here's a [live demo](https://learn.hasura.io/graphql/react)
Get started by running the following commands:

```
$ git clone git@github.com:hasura/gatsby-gitbook-starter.git
$ git clone https://github.com/hasura/gatsby-gitbook-starter.git
$ cd gatsby-gitbook-starter
$ npm install
$ npm start
Expand Down
6 changes: 1 addition & 5 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,8 @@ if (config.pwa && config.pwa.enabled && config.pwa.manifest) {
plugins.push('gatsby-plugin-remove-serviceworker');
}

// check and remove trailing slash
if (config.gatsby && !config.gatsby.trailingSlash) {
plugins.push('gatsby-plugin-remove-trailing-slashes');
}

module.exports = {
trailingSlash: 'never',
pathPrefix: config.gatsby.pathPrefix,
siteMetadata: {
title: config.siteMetadata.title,
Expand Down
Loading