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

範例裡的LASS資料來源似乎下線了? #3

Open
lcabon258 opened this issue Jun 21, 2016 · 0 comments
Open

範例裡的LASS資料來源似乎下線了? #3

lcabon258 opened this issue Jun 21, 2016 · 0 comments

Comments

@lcabon258
Copy link

先感謝作者們分享這些原始碼!
在 Real-time-Air-Quality-Map/Publish/FetchServer.js
這個檔案中的第336行中
httpTools.http_get_json('nrl.iis.sinica.edu.tw', '/LASS/last-all.php', function(response){
我在執行時會遇到錯誤:
[LASS] At request "nrl.iis.sinica.edu.tw/LASS/last-all.php" failed.
其他都是正常寫入檔案中:

[Indie] Finished Writing.
[ProbeCube] Finished Writing.

如果把第二個網址改成 '/LASS/last-all-lass.json':
httpTools.http_get_json('nrl.iis.sinica.edu.tw','/LASS/last-all-lass.json', function(response){
似乎就可以了,是不是他們網址有做更新了?(直接在瀏覽器打「 http://nrl.iis.sinica.edu.tw/LASS/last-all.php 」是HTTP 404 ,有點找不到LASS資料使用的說明文件,也不是很確定...)

再次感謝你們!
Node js 6.2.2 on Mac OSX 10.11.3,資料庫根據你們的操作說明,以指令安裝最新的版本。(2016.6.20)

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

1 participant