Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
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
4 changes: 2 additions & 2 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"ICON_CMD": "https://assets.coderplanets.com/icons/cmd",
"DEFAULT_ICON": "https://assets.coderplanets.com/icons/cmd/cheatsheet.svg",
"DEFAULT_USER_AVATAR": "https://assets.coderplanets.com/icons/cmd/alien_user3.svg",
"GRAPHQL_ENDPOINT": "https://api.coderplanets.com/graphiql",
"GRAPHQL_ENDPOINT": "http://localhost:4001/graphiql",
"SITE_URL": "https://coderplanets.com",
"SITE_URL_SHORT": "https://coderplanets.com",
"GITHUB": "https://github.com/coderplanets",
Expand All @@ -59,7 +59,7 @@
"//--- contact configs ---//": "",
"EMAIL_SUPPORT": "coderplanets@outlook.com",
"// GRAPHQL_ENDPOINT": "https://api.coderplanets.com/graphiql",
"BUILD_VERSION": "v2.0.99",
"BUILD_VERSION": "v2.1.2",
"// 1000 * 60 * 10 = 10 mins": "",
"SSR_CACHE_TIME": 60000
}
Binary file modified deploy/production/web.tar.gz
Binary file not shown.
31 changes: 27 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"local": "cross-env NODE_ENV=local node server",
"nextdev": "cross-env NODE_ENV=dev next dev",
"nextstart": "next-boost",
"nextstart2": "cross-env NODE_ENV=production next start",
"nextstart2": "cross-env NODE_ENV=production next start -p 3000",
"ci": "cross-env NODE_ENV=ci node server",
"server": "npm run clean && node server.js",
"build": "next build",
Expand All @@ -20,7 +20,8 @@
"serve": "cross-env NODE_ENV=production next start -p ${SERVE_PORT}",
"serve.dev": "cross-env NODE_ENV=dev SERVE_PORT=${SERVE_PORT} node server",
"serve.prod.old": "cross-env NODE_ENV=production SERVE_PORT=${SERVE_PORT} node server",
"serve.prod": "cross-env NODE_ENV=production next-boost -p ${SERVE_PORT}",
"serve.prod.boost": "cross-env NODE_ENV=production next-boost -p ${SERVE_PORT}",
"serve.prod": "cross-env NODE_ENV=production next start -p ${SERVE_PORT}",
"dist": "next build && next export -o \"build\"",
"start": "NODE_ENV=production node server.js",
"clean": "shjs ./utils/scripts/clean.js",
Expand Down Expand Up @@ -101,6 +102,7 @@
"react-calendar-heatmap": "1.8.1",
"react-content-loader": "3.4.2",
"react-copy-to-clipboard": "^5.0.3",
"react-device-detect": "^2.1.2",
"react-dom": "17.0.2",
"react-highlight-words": "^0.16.0",
"react-lazy-load-image-component": "1.5.0",
Expand Down
Loading