oops revert back to 'pages'
This commit is contained in:
parent
7a28788b7f
commit
11468adddc
27
README.md
27
README.md
|
@ -210,16 +210,16 @@ Deleting those files will rese
|
||||||
Accessing static apps
|
Accessing static apps
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Static apps are stored in `var/sites`
|
Static apps are stored in `packages/pages`
|
||||||
|
|
||||||
```
|
```
|
||||||
# App ID as files with a list of packages they should load
|
# App ID as files with a list of packages they should load
|
||||||
# note that '#' is used in place of '/' because files and folders may not contain '/' in their names
|
# note that '#' is used in place of '/' because files and folders may not contain '/' in their names
|
||||||
/srv/walnut/var/sites/<domain.tld#path> # https://domain.tld/path
|
/srv/walnut/packages/pages/<domain.tld#path> # https://domain.tld/path
|
||||||
/srv/walnut/var/sites/<domain.tld> # https://domain.tld and https://domain.tld/foo match
|
/srv/walnut/packages/pages/<domain.tld> # https://domain.tld and https://domain.tld/foo match
|
||||||
|
|
||||||
# packages are directories with reverse dns name # For the sake of debugging these packages can be accessed directly, without a site by
|
# packages are directories with email-style name # For the sake of debugging these packages can be accessed directly, without a site by
|
||||||
/srv/walnut/var/sites/<tld.domain.package> # matches apps.<domain.tld>/<package-name> and <domain.tld>/apps/<package-name>
|
/srv/walnut/packages/pages/<package@domain.tld> # matches apps.<domain.tld>/<package-name> and <domain.tld>/apps/<package-name>
|
||||||
```
|
```
|
||||||
|
|
||||||
Accessing REST APIs
|
Accessing REST APIs
|
||||||
|
@ -287,16 +287,19 @@ The permissions:
|
||||||
|
|
||||||
```
|
```
|
||||||
/srv/walnut/packages/
|
/srv/walnut/packages/
|
||||||
├── client-api-grants
|
└── client-api-grants
|
||||||
│ └── cloud.foobar.me
|
└── cloud.foobar.me
|
||||||
│ '''
|
'''
|
||||||
│ hello@example.com # refers to /srv/walnut/packages/rest/hello@example.com
|
hello@example.com # refers to /srv/walnut/packages/rest/hello@example.com
|
||||||
│ '''
|
'''
|
||||||
│
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
/srv/walnut/var/
|
||||||
└── sites
|
└── sites
|
||||||
└── daplie.me
|
└── daplie.me
|
||||||
'''
|
'''
|
||||||
seed@example.com # refers to /srv/walnut/var/sites/seed@example.com
|
seed@example.com # refers to /srv/walnut/packages/pages/seed@example.com
|
||||||
'''
|
'''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue