Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for loading files from a local server #46

Open
mafintosh opened this issue Feb 16, 2016 · 2 comments
Open

add support for loading files from a local server #46

mafintosh opened this issue Feb 16, 2016 · 2 comments

Comments

@mafintosh
Copy link

being able to load the hydrogen.cfg, code.asm files from a local server (that has cors support) would be a great addition.

maybe something like

http://mrale.ph/irhydra/2/#http://localhost:8080/hydrogen.cfg,http://localhost:8080/code.asm

@mraleph
Copy link
Owner

mraleph commented Feb 16, 2016

I wonder if this will actually work and not be prohibited by CORS?

I think the only way to make it work reliably would be to serve IRHydra from localhost itself and just have a URL like

http://localhost:8080/irhydra/#/path/to/hydrogen.cfg,path/to/code.asm

@mafintosh
Copy link
Author

I think my approach works as long as i set the correct core headers in my local server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants