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

    strict-origin-when-cross-origin

    Scheduled Pinned Locked Moved Windy API v4
    10 Posts 2 Posters 2.8k Views 2 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.
    • ShahramTS Offline
      ShahramT | Premium
      last edited by

      Hi,
      Try to test the "Hello World" code...
      I have a function that change/give the coordinates and the content/text on the map.
      It has worked perfect until today.
      Now it works just frist time.
      When I try to change the coordinates then I get http error 404, strict-origin-when-cross-origin!

      Has anybody else same problem?

      Best regards
      Shahram Torgersson

      1 Reply Last reply Reply Quote 0
      • marekdM Offline
        marekd Windy Staff
        last edited by

        @ShahramT Hello, can you post somewhere working example of the issue?

        ShahramTS 1 Reply Last reply Reply Quote 0
        • ShahramTS Offline
          ShahramT @marekd | Premium
          last edited by

          @marekd
          Hi,
          Pls try this link:
          http://touchngo.se/
          Here are some airports (ICAO) you can use:
          ESGG
          ESGP
          ESGV
          or any other.
          /Shahram

          1 Reply Last reply Reply Quote 0
          • marekdM Offline
            marekd Windy Staff
            last edited by

            @ShahramT I do not see any issue on our side. The page cannot load http://touchngo.se/script.js with 404. This is not the API part, sorry.

            ShahramTS 2 Replies Last reply Reply Quote 0
            • ShahramTS Offline
              ShahramT @marekd | Premium
              last edited by

              @marekd
              The problem is not "The page cannot load http://touchngo.se/script.js with 404. This is not the API part".
              I have correct that now.

              If you write "ESGG" in the ICAO field first, you will se its position on the map.
              Change it that to "ESGP" or "ESGV", then you see the problem.
              /Shahram

              1 Reply Last reply Reply Quote 1
              • ShahramTS Offline
                ShahramT @marekd | Premium
                last edited by

                @marekd It has worked perfectly in several days until today (maybe yesterday I’m not sure).

                /Shahram

                1 Reply Last reply Reply Quote 0
                • marekdM Offline
                  marekd Windy Staff
                  last edited by

                  @ShahramT This fits perfectly with the release date of the new version version. We are working on a fix, sorry.

                  ShahramTS 2 Replies Last reply Reply Quote 1
                  • ShahramTS Offline
                    ShahramT @marekd | Premium
                    last edited by

                    @marekd The problem is solved now. Thanks!

                    1 Reply Last reply Reply Quote 0
                    • ShahramTS Offline
                      ShahramT @marekd | Premium
                      last edited by

                      @marekd but there are a lots of errors after second request:![alt text](3923a446-bcca-4664-9c37-9765449bb096-image.png image url)

                      1 Reply Last reply Reply Quote 0
                      • marekdM Offline
                        marekd Windy Staff
                        last edited by marekd

                        @ShahramT Yes, there are many errors and they always be there. The problem is, you initialize API multiple times. That it worked is merely coincidence, not intention. In the new version, I had to do a workaround to preserve this compatibility.

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