pubsweet-blogger icon indicating copy to clipboard operation
pubsweet-blogger copied to clipboard

editor page tries to connect to localhost:8000

Open 7obias opened this issue 5 years ago • 1 comments

I try to run the demo from one of our dev docker servers. so I point my browser to

http://[dev-docker-server]:3000/dashboard/editor/6cd0432a-ee76-487c-ac0a-1bfdb3aebee8

still when on the post edit page I see the Editor trying to connect to

http://localhost:8080/socket.io/?EIO=3&transport=polling&t=Mo-Em5t

Is there a way I can tweak base url in your demo?

thanks.

7obias avatar Aug 23 '19 11:08 7obias

Changing this should work: https://github.com/jure/pubsweet-blogger/blob/master/app/components/component-atlaskit-editor/src/Editor.tsx#L5

jure avatar Apr 13 '20 20:04 jure