TopList
TopList copied to clipboard
How to make GetType/GetTypeInfo work?
Hi,
I am not sure how the api working? It seems something missing in this repository, i.e. how GetType/GetTypeInfo to interact with the database?
function getHotInfo() { $.ajax({ url:ServerIp+"/GetType", type:"GET", ...
I have got errors since there is no localhost/GetType: jquery.js:8623 GET http://127.0.0.1/GetType 404 (Not Found)
Please kindly help me with the issue. Thanks a lot!
In the globalConfig.js , there is the ServerIp const ServerIp = 'https://www.printf520.com:8080'
@Darcyyaoting Thanks for reply but I am asking if I want to set Serverlp = "127.0.0.1" and run web server locally. Where can I find the code to handle GetType/GetTypeInfo. It seems those codes are missing in this repo.
I'm sorry to see your message now. I've uploaded the code to this repo,look Server.go
@timeromantic Thanks a lot!