Problem connecting to own server

0 favourites
  • 1 posts
From the Asset Store
The official Scirra Multiplayer Signalling Server for helping peers find and connect to each other
  • There is probably a simple fix to this problem but I can't fathom it. I have a local server running from IIS with a certificate recognised by Chrome and I can browse through my files from there no problem.

    CORS is enabled by adding the following to web.config:

    <httpProtocol>
        <customHeaders>
            <add name="Access-Control-Allow-Origin" value="*" />
        </customHeaders>
    </httpProtocol>[/code:18nb6zhp]
    
    However, when I enter the localhost url [i]https://localhost:65432/Myplugin/addon.json[/i] into the addon manager I receive the following error message in the console:
    
    [code:18nb6zhp]Error loading addon JSON:  TypeError: Assignment to constant variable.
        at d.!vcY (main.js:73)
        at <anonymous>
    !G.!EA.then.then.catch  main.js:154
    Promise rejected (async)
    o.!Dy.then  main.js:154
    Promise resolved (async)
    !ssA  main.js:154
    !ssk.onclick  main.js:154[/code:18nb6zhp]
    
    Can anyone shed any light on this please?  Thanks.
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)