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

    How to avoid Unauthorized domain - windy maps

    Scheduled Pinned Locked Moved Windy API v4
    2 Posts 2 Posters 879 Views
    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.
    • V Offline
      VectorCuatro SLU
      last edited by

      I have the domain filled in the administration portal but still the same problem.

      c78c5208-0e88-4ba0-9ad9-46069a07a318-image.png 6ff24ae8-1aea-4226-aac0-b7d40a67d18e-image.png

      The domain is http://fkritsrvwtv0006:8086/ and this is filled in authorized domain. I dont understand why is happened, this is an internal domain (not public in internet) . I don´t know if this is the problem, but with localhost:3000 that is our development environment it works.

      ¿Could you help me please?

      Thank you very much.

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

        The domain is checked with the following:

        your_specified_domains
            .split(',')
            .map(a => new RegExp(a.trim().toLowerCase()))
            .filter(a => a.test(running_domain_where_api_lives));
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Windy Community  |  Powered by excellent NodeBB
        Terms of Use     Privacy Policy     Windy.com