This is because Canva expects requests to come from:
a domain on Canva's allowlist
This guide explains how to develop locally by serving an HTML file via
http-server is "a simple, zero-configuration command-line HTTP server." You can use it to make a file (or a directory of files) available via
You can install
http-server via npm or Homebrew.
npm install http-server --global
brew install http-server
cd command to navigate into the directory that contains the HTML file:
To start the local server, run the
By default, the local server becomes available at http://localhost:8080.