Skip to content

Commit

Permalink
Merge pull request #168 from craigybaeb/dev
Browse files Browse the repository at this point in the history
Revert cookie
  • Loading branch information
craigybaeb authored Oct 30, 2023
2 parents 7bbec30 + 25cf1e5 commit 146f608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/isee/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const open_editor_with_token = async (strategy: string, usecaseId: string
try {
const STRATEGY_URL = `${EDITOR_URL}#/id/${strategy}?usecaseId=${usecaseId}`;

Cookies.set('auth', getToken(), { expires: 1, domain: '.isee4xai.com', path: "/", sameSite: 'None' });
Cookies.set('auth', getToken(), { expires: 1, secure: true, domain: '.isee4xai.com', path: "/", sameSite: 'None' });

window.open(STRATEGY_URL, "_blank")
return;
Expand Down

0 comments on commit 146f608

Please sign in to comment.