Skip to content

Commit

Permalink
change connect-src
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Jan 15, 2025
1 parent ec94535 commit 37ac288
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/stripe-app/src/views/AppSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
import { deleteSecret, setSecret } from "../utils/secrets";
import { stripe } from "../utils/stripe";
import { Workspace } from "../utils/types";
import { CreateLink } from "./create-link";

// TODO:
// Handle errors and display them to the user
Expand Down Expand Up @@ -192,7 +191,7 @@ const AppSettings = ({ userContext, oauthContext }: ExtensionContextValue) => {
/>
)}

<CreateLink workspace={workspace} />
{/* <CreateLink workspace={workspace} /> */}
</Box>
);
};
Expand Down
6 changes: 3 additions & 3 deletions packages/stripe-app/stripe-app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "dub.co",
"version": "0.0.7",
"version": "0.0.8",
"name": "Dub - Conversion Analytics",
"icon": "./stripe-icon.png",
"permissions": [
Expand Down Expand Up @@ -50,8 +50,8 @@
],
"content_security_policy": {
"connect-src": [
"https://api.dub.co/links",
"https://api-staging.dub.co/links"
"https://api.dub.co/oauth/token",
"https://api-staging.dub.co/oauth/token"
],
"image-src": null,
"purpose": ""
Expand Down

0 comments on commit 37ac288

Please sign in to comment.