How do I add dev addon?

  • I was following the documentation and configured my local server as described in the manual.

    I can see addon.json in my chrome browser with this url:

    http://localhost:65432/addon.json

    with Access-Control-Allow-Origin:*

    but when I try to add it in addon manager, it says Construct 3 is unable to load the addon JSON.

    Anyone knows how to solve this?

    I use 'http-server' to run my server:

    http-server -p 65432 --cors '*'

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried using the recommended way, nginx, and it still doesn't work

    Same issue where I can see addon files in chrome but Construct 3 still can't load those addon files.

    here is my .conf:

    worker_processes  auto;
    
    events {
        worker_connections  1024;
    }
    
    http {
        include       mime.types;
        default_type  application/octet-stream;
    
        sendfile        on;
    
        keepalive_timeout  65;
    
        server {
            listen       65432;
            server_name  _;
    
            location / {
                root   addons;
    	    autoindex on;
    	    add_header Access-Control-Allow-Origin *;
            }
    
            error_page   500 502 503 504  /50x.html;
            location = /50x.html {
                root   html;
            }
        }
    }
    [/code:3igoqx2g]
    
    Now I am just wonder how other people get it to work :\
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)