Skip to content

Commit

Permalink
Merge pull request #4 from hellocoop/main
Browse files Browse the repository at this point in the history
sync with 1.0.14
  • Loading branch information
jhebb authored Apr 18, 2024
2 parents aea5aef + d7dc9bd commit a9a3066
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client-as",
"version": "1.0.13",
"version": "1.0.14",
"description": "Hellō Client and Authorization Server",
"main": "server.js",
"directories": {
Expand Down
7 changes: 3 additions & 4 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ const ISSUER = (HOST)
const HTU = ISSUER + TOKEN_ENDPOINT

const PRODUCTION = (process.env.NODE_ENV === 'production')
const DEVELOPMENT = (process.env.NODE_ENV === 'development')

const SAME_SITE = (DEVELOPMENT) ? 'none' : 'strict'
const SECURE = PRODUCTION || (SAME_SITE === 'none')
const ENABLE_3P_COOKIES = (process.env.ENABLE_3P_COOKIES === 'true')
const SAME_SITE = (ENABLE_3P_COOKIES) ? 'none' : 'strict'
const SECURE = PRODUCTION || ENABLE_3P_COOKIES

const { version } = require('../package.json')

Expand Down

0 comments on commit a9a3066

Please sign in to comment.