Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    CORS on windy.com/dev

    Scheduled Pinned Locked Moved Windy Plugins
    2 Posts 1 Posters 693 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vicbV Offline
      vicb Paraglider | Premium
      last edited by

      It looks like windy.com/dev can not load https://localhost:9999/plugin.js before of CORS.

      Any hint on how to solve that.

      I am using rollup-plugin-serve and tried:

            serve({
              contentBase: "dev",
              port: 9999,
              https: {
                key: fs.readFileSync('key.pem'),
                cert: fs.readFileSync('certificate.pem'),
              },
              headers: {
                'Access-Control-Allow-Origin': '*',
              },        
            }),
      
      vicbV 1 Reply Last reply Reply Quote 0
      • vicbV Offline
        vicb Paraglider @vicb | Premium
        last edited by

        Firefox seems to be working fine.

        The pb is with Chrome Version 114.0.5735.198

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Windy Community  |  Powered by excellent NodeBB
        Terms of Use     Privacy Policy     Windy.com