MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Image in module not showing on mirror browser

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 4 Posters 3.3k Views 4 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.
    • S Offline
      sdetweil @lavolp3
      last edited by

      @lavolp3 use the cors service in MM… someone has to change the code to change the link

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      lavolp3L 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @sdetweil
        last edited by

        @sdetweil What’s the CORS service in MM?
        I see I have been away for a while…

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @lavolp3
          last edited by

          @lavolp3 the systems are getting more sensitive to attackers everywhere

          MM is on a system using 0.0.0.0 probably and that gets sent in the browser making the request and the remote system says, I don’t know where that it, its ‘NOT’ in my allowed systems…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @lavolp3
            last edited by sdetweil

            @lavolp3

            use this as the url

            Example input request url: 
            
            http://address:port/cors?sendheaders=header1:value1,header2:value2&expectedheaders=header1,header2&url=http://www.test.com/path?param1=value1
            

            so when you break that down

            http://address:port MM address (can be localhost, or ip address) and port
            url= the original url
            sendheaders= whatever headers you need to set when sending
            expectedheaders= whatever headers are expected on response

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @lavolp3
              last edited by

              @lavolp3 said in Image in module not showing on mirror browser:

              But I can try to use electron’s developers tab.

              yes, have to do it where the error is

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @lavolp3
                last edited by

                @lavolp3 see also
                https://forum.magicmirror.builders/topic/18131/possible-cross-origin-issue

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy