Dear all:
i have built 2 websites on my vitual Server
1 is yarn run dev website ,it can works normal with json datasource
2 is built by myself with “dist” folder, it can not works with json datasource(the same json datasource with website 1)
website 1:
http://192.168.62.140:3000/viewer?url=http://192.168.62.140/b.json
website 2:
http://192.168.62.140:10010/viewer?url=http://192.168.62.140/b.json
the error means can not find file or dictory
CORS setting
1.json website
2.dist website
direclty visit dist website works normal:
http://192.168.62.140:10010
question:
How to let dist website support json datasource?
thank you very much !!!