20190911_jeffrey - silenceuncrio/diary GitHub Wiki
0900
繼續 M360P - HTTP/HTTPS port configuration
發現 M330 的 web module 沒寫好
- InitWeb 裡並沒有呼叫 SysParsorTextFile
這樣每次重開機都還是一樣呼叫 LoadDefault()
M360P[release/v1.04] - now our web module supports 4 modes: Off, HTTP, HTTPS and Both
commit 24bbff248671179bcfbd6c26d645dd1b4b6cce30
Refs: [release/v1.04], {origin/release/v1.04}
Author: jeffrey <[email protected]>
Date: Wed Sep 11 11:04:53 2019 +0800
now our web module supports 4 modes: Off, HTTP, HTTPS and Both
proscend/prosrc/icos/icoslib/web/webcfg.c | 171 ++++++++++++++----------------
proscend/prosrc/www/app/feature/web.html | 18 ++++
proscend/prosrc/www/app/feature/web.js | 4 +-
proscend/prosrc/www/app/locale-en.json | 5 +
proscend/prosrc/www/app/locale-fr.json | 5 +
proscend/prosrc/www/app/locale-zh-tw.json | 5 +
6 files changed, 114 insertions(+), 94 deletions(-)
收工
1335
M330[develop] - read config from web.ini at boot time
commit 7f9b93aa6fc658f6565a3b71246a4de958550894
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Sep 11 13:36:43 2019 +0800
read config from web.ini at boot time
proscend/prosrc/icos/icoslib/web/webcfg.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
1425
目前參考 How to create a React frontend and a Node/Express backend and connect them
修改 client/src/App.js
將 fetch("http://localhost:9000/testAPI")
改成 fetch("http://192.168.217.128:9000/testAPI")
即可
如此便可放心地 study How to create a full stack React/Express/MongoDB app using Docker
1610
M360P[release/v1.04] - no more workaround needed since we do not use iweb anymore
commit 3c757a502506a73c53acea3a806794c0c1afb6e4
Refs: [release/v1.04], {origin/release/v1.04}
Author: jeffrey <[email protected]>
Date: Wed Sep 11 16:10:37 2019 +0800
no more workaround needed since we do not use iweb anymore
proscend/prosrc/www/app/feature/login.js | 25 +------------------------
1 file changed, 1 insertion(+), 24 deletions(-)
1645
study How to create a full stack React/Express/MongoDB app using Docker 的過程卡在 docker-compose up
➜ my_awesome_project docker-compose up
Pulling api (webapp-api:)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Continue with the new image? [yN]N
ERROR: pull access denied for webapp-api, repository does not exist or may require 'docker login'
➜ my_awesome_project