Structure of the project
Getting started:
npm install
npm run dev
You must provide a valid server URL in the App.svelte
file:
// Replace `https://my-cool-backend-app.com` with the address where you deployed the backend app
const serverUrl =
process.env.NODE_ENV !== "production"
? "http://localhost:8080"
: "https://my-cool-backend-app.com";
npm install
npm run dev
You must provide a valid app URL for the CORS options:
// Replace `https://my-cool-nft-app.com` with the URL of your app
const corsOptions = {
origin: ["http://localhost:8082", "https://my-cool-nft-app.com"],
optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
};