Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 18b2d29

Browse files
authored
run sample on 3000 and fix sample app to not store cookies (#53)
1 parent 005bf86 commit 18b2d29

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ Run the following command in the root of the project to build and run the exampl
247247
npm i && npm start
248248
```
249249
250+
Open your browser and navigate to [http://localhost:3000](http://localhost:3000).
251+
250252
### Example Optional Env Variables
251253
252254
See the following table for customization environment variables for the example app:

example/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ app.use(router);
88

99
app.use(descope, {
1010
projectId: process.env.VUE_APP_DESCOPE_PROJECT_ID || '',
11-
baseUrl: process.env.VUE_APP_DESCOPE_BASE_URL || '',
12-
sessionTokenViaCookie: true
11+
baseUrl: process.env.VUE_APP_DESCOPE_BASE_URL || ''
1312
});
1413

1514
const sdk = getSdk();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dist"
2121
],
2222
"scripts": {
23-
"start": "vue-cli-service serve",
23+
"start": "vue-cli-service serve --port 3000",
2424
"build": "rollup -m -c rollup.config.js",
2525
"test": "vue-cli-service test:unit",
2626
"lint": "vue-cli-service lint",

0 commit comments

Comments
 (0)