Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Surfer
  3. Surfer and CORS

Surfer and CORS

Scheduled Pinned Locked Moved Solved Surfer
11 Posts 5 Posters 1.7k Views 5 Watching
  • 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.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #1

    Looked in docs but don't see the info.
    Where do I enable CORS for a Surfer hosted page ?
    In the hosted page headers ?
    Any specs / guidance ?

    Can't see anything in admin settings for the app.

    1 Reply Last reply
    0
    • timconsidineT timconsidine marked this topic as a question on
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      AFAIK, CORS is already enabled for all domains. Why do you think it's not? @nebulon can confirm.

      1 Reply Last reply
      0
      • timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on last edited by timconsidine
        #3

        The page I am hosting in Surfer generates errors in browser dev tools.
        Oh, doh !
        Is it the linked page site that needs CORS enabling, not Surfer ?

        Cross-Origin Request Blocked: The Same Origin Policy disallows 
        reading the remote resource at 
        https://api-service.lowcoder.domain.tld/api/v1/applications/undefined/view.
        (Reason: CORS request did not succeed). Status code: (null).
        
        girishG 1 Reply Last reply
        0
        • timconsidineT timconsidine

          The page I am hosting in Surfer generates errors in browser dev tools.
          Oh, doh !
          Is it the linked page site that needs CORS enabling, not Surfer ?

          Cross-Origin Request Blocked: The Same Origin Policy disallows 
          reading the remote resource at 
          https://api-service.lowcoder.domain.tld/api/v1/applications/undefined/view.
          (Reason: CORS request did not succeed). Status code: (null).
          
          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @timconsidine that's correct. it's the linked page that needs CORS configuration, not surfer.

          1 Reply Last reply
          0
          • timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by
            #5

            Thank you and sorry for disturbing you.
            Maybe I need to go lie down in a dark room 😄

            scookeS 1 Reply Last reply
            1
            • timconsidineT timconsidine has marked this topic as solved on
            • timconsidineT timconsidine

              Thank you and sorry for disturbing you.
              Maybe I need to go lie down in a dark room 😄

              scookeS Offline
              scookeS Offline
              scooke
              wrote on last edited by
              #6

              @timconsidine Maybe bring a Coors in with you.

              A life lived in fear is a life half-lived

              timconsidineT 1 Reply Last reply
              1
              • scookeS scooke

                @timconsidine Maybe bring a Coors in with you.

                timconsidineT Offline
                timconsidineT Offline
                timconsidine
                App Dev
                wrote on last edited by
                #7

                @scooke said in Surfer and CORS:

                @timconsidine Maybe bring a Coors in with you.

                Great idea. Why didn’t I think of that 👍

                1 Reply Last reply
                1
                • luckowL Offline
                  luckowL Offline
                  luckow
                  translator
                  wrote on last edited by
                  #8

                  Thanks for teaching me something new 🙂 I've never heard of Coors (and never drank one. Is it good?).
                  https://www.molsoncoors.com/brands/our-brands/coors-original?region=931

                  Pronouns: he/him | Primary language: German

                  timconsidineT 1 Reply Last reply
                  1
                  • luckowL luckow

                    Thanks for teaching me something new 🙂 I've never heard of Coors (and never drank one. Is it good?).
                    https://www.molsoncoors.com/brands/our-brands/coors-original?region=931

                    timconsidineT Offline
                    timconsidineT Offline
                    timconsidine
                    App Dev
                    wrote on last edited by
                    #9

                    @luckow perfect ice-cold on a hot day !
                    For those who love a great weiss-bier, it is not strong taste.
                    Where have all the good weiss bier brands gone ?
                    I don't see them so much these days.

                    1 Reply Last reply
                    2
                    • necrevistonnezrN Offline
                      necrevistonnezrN Offline
                      necrevistonnezr
                      wrote on last edited by
                      #10

                      I still have this road bike - Coors had sponsored a US road bike team and Serotta made beautiful bicycles back then….
                      https://www.rennrad-news.de/news/renner-der-woche-serotta-team-coors-light-stahlklassiker/ (German, but the pictures speak for themselves)

                      scookeS 1 Reply Last reply
                      2
                      • necrevistonnezrN necrevistonnezr

                        I still have this road bike - Coors had sponsored a US road bike team and Serotta made beautiful bicycles back then….
                        https://www.rennrad-news.de/news/renner-der-woche-serotta-team-coors-light-stahlklassiker/ (German, but the pictures speak for themselves)

                        scookeS Offline
                        scookeS Offline
                        scooke
                        wrote on last edited by
                        #11

                        @necrevistonnezr THAT is pretty cool. I need to hit those hills more.

                        A life lived in fear is a life half-lived

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search