ganlvtech / lua-simple-encrypt

Lua simple XOR encrypt
https://ganlvtech.github.io/lua-simple-encrypt/
MIT License
98 stars 67 forks source link

deploy issues #26

Closed YumeGod closed 3 years ago

YumeGod commented 3 years ago

I use npm run dev to deploy the obfuscator to my server, I can access through localhost:8080, but I cannot access through IP:8080 on my computer, I have checked all firewall settings, but other app can access through IP:8080 , so that means theres no problem with the firewall , should i change any settings ?

ganlvtech commented 3 years ago

You can find more details from StackOverflow: How to get access to webpack-dev-server from devices in local network?.

There are several ways.

  1. Change package.json webpack-dev-server to webpack-dev-server --host=0.0.0.0 and run npm run dev.

https://github.com/ganlvtech/lua-simple-encrypt/blob/54b1449a1f662d2893e2673de4f3f2d0599eeee8/package.json#L9

  1. Or just run npm run dev -- --host=0.0.0.0