Skip to content

Commit

Permalink
remove proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros committed Apr 29, 2024
1 parent 6094f2d commit fff31d7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
5 changes: 1 addition & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"main": "dist/code.js",
"ui": "dist/index.html",
"editorType": ["figma"],
"networkAccess": {
"allowedDomains": ["https://cors-anywhere.herokuapp.com"],
"devAllowedDomains": ["http://localhost:5173"]
},
"networkAccess": { "allowedDomains": ["none"] },
"documentAccess": "dynamic-page"
}
7 changes: 0 additions & 7 deletions ui-src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
</head>
<body>
<div id="root"></div>
<script>
// Proxy of Penpot App
// window.penpotPublicURI = 'https://localhost:5173';
// Random url with CORS configured
// window.penpotPublicURI = 'https://cors-anywhere.herokuapp.com/';
// window.penpotVersion = '2.0.0-13062-gc97f2d620';
</script>
<script type="module" src="./main.tsx"></script>
</body>
</html>
5 changes: 0 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
root: './ui-src',
plugins: [svgr(), react(), viteSingleFile(), tsconfigPaths()],
server: {
proxy: {
'/': 'https://design.penpot.app'
}
},
build: {
target: 'esnext',
assetsInlineLimit: 100000000,
Expand Down

0 comments on commit fff31d7

Please sign in to comment.