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 +2 -2
- package/db/wapis/apis/data.mdb +0 -0
- package/db/wapis/apis/lock.mdb +0 -0
- package/dist/w-web-api.umd.js +2 -2
- package/dist/w-web-api.umd.js.map +1 -1
- package/docs/WWebApi.html +5 -5
- package/docs/WWebApi.mjs.html +15 -15
- package/docs/index.html +1 -1
- package/g.getSettings.mjs +6 -4
- package/g.mOrm.mjs +2 -2
- package/package.json +3 -3
- package/server/WWebApi.mjs +14 -14
- package/srv.mjs +5 -5
- package/tableTags.json +1 -1
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-
|
|
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 =
|
|
31
|
+
let url = st.dbUrl
|
|
32
32
|
let db = st.dbName
|
|
33
33
|
let opt = {
|
|
34
34
|
|
|
Binary file
|
|
Binary file
|