w-web-api 1.0.38 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ npm i w-web-api
20
20
  #### Example for server:
21
21
  > **Link:** [[dev source code](https://github.com/yuda-lyu/w-web-api/blob/master/srv.mjs)]
22
22
  ```alias
23
- import WOrm from 'w-orm-mongodb/src/WOrmMongodb.mjs' //自行選擇引用ORM, 使用Mongodb測試
23
+ import WOrm from 'w-orm-lmdb/src/WOrmLmdb.mjs'
24
24
  import WWebApi from './server/WWebApi.mjs'
25
25
  import getSettings from './g.getSettings.mjs'
26
26
 
@@ -28,7 +28,7 @@ import getSettings from './g.getSettings.mjs'
28
28
  //st
29
29
  let st = getSettings()
30
30
 
31
- let url = `mongodb://${st.dbUsername}:${st.dbPassword}@${st.dbIP}:${st.dbPort}` //使用Mongodb測試
31
+ let url = st.dbUrl
32
32
  let db = st.dbName
33
33
  let opt = {
34
34
 
Binary file
Binary file