Skip to content

Commit

Permalink
Webkit updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriVanGuard committed Apr 12, 2022
1 parent 5966afe commit dd2f672
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
]
},
"scripts": {
"dev": "BACKEND_URL=https://api.santiment.net sapper dev",
"dev": "BACKEND_URL=https://api-stage.santiment.net sapper dev",
"build": "npm run webkit && NODE_ENV=production sapper build",
"webkit": "node scripts/webkit",
"postinstall": "patch-package && npm run webkit",
Expand All @@ -26,7 +26,7 @@
"mobile-detect": "^1.4.5",
"node-fetch": "^2.6.1",
"polka": "next",
"san-webkit": "https://github.com/santiment/san-webkit#a8a8cb0",
"san-webkit": "https://github.com/santiment/san-webkit#4f80a16",
"sirv": "^1.0.0",
"turndown": "^7.1.1",
"medium-editor": "^5.23.3",
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ const ENVS = {

'process.env.MEDIA_PATH': JSON.stringify('webkit'),
'process.env.ICONS_PATH': JSON.stringify('webkit/icons'),

'process.env.API_FETCH_ORIGIN': JSON.stringify(process.env.API_FETCH_ORIGIN),
}

const URL_LOADER = {
Expand Down Expand Up @@ -140,7 +142,6 @@ module.exports = {
'process.browser': false,
...ENVS,

// 'process.env.API_FETCH_ORIGIN': JSON.stringify(process.env.API_FETCH_ORIGIN),
'process.env.GQL_SERVER_URL': JSON.stringify(
process.env.GQL_SERVER_URL || GQL_SERVER_FALLBACK,
),
Expand Down

0 comments on commit dd2f672

Please sign in to comment.