Merge readonlyRootfs and development mode into debug mode
The core issue we want to solve is to debug a running app. Let's make it explicit that it is in debugging mode because functions like update/backup/restore don't work. Part of #171
This commit is contained in:
@@ -118,8 +118,7 @@ Request:
|
||||
key: <string>, // pem encoded TLS key
|
||||
memoryLimit: <number>, // memory constraint in bytes
|
||||
altDomain: <string>, // alternate domain from which this app can be reached
|
||||
xFrameOptions: <string>, // set X-Frame-Options header, to control which websites can embed this app
|
||||
readonlyRootfs: <boolean> // whether the app's rootfs is readonly
|
||||
xFrameOptions: <string> // set X-Frame-Options header, to control which websites can embed this app
|
||||
}
|
||||
```
|
||||
|
||||
@@ -154,9 +153,6 @@ If `altDomain` is set, the app can be accessed from `https://<altDomain>`.
|
||||
|
||||
`memoryLimit` is the maximum memory this app can use (in bytes) including swap. If set to 0, the app uses the `memoryLimit` value set in the manifest. If set to -1, the app gets unlimited memory.
|
||||
|
||||
If `readonlyRootfs` is false, then the app's rootfs can be modified post installation. This is useful for debugging as it allows the app's code to be modified post installation. Apps that have a readonly rootfs cannot
|
||||
be updated to a newer version (because it is not safe to update them).
|
||||
|
||||
Read more about the options at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options).
|
||||
|
||||
Response (200):
|
||||
@@ -470,8 +466,7 @@ Request:
|
||||
key: <string>, // pem encoded TLS key
|
||||
memoryLimit: <number>, // memory constraint in bytes
|
||||
altDomain: <string>, // alternate domain from which this app can be reached
|
||||
xFrameOptions: <string>, // set X-Frame-Options header, to control which websites can embed this app
|
||||
readonlyRootfs: <boolean> // whether the app's rootfs is readonly
|
||||
xFrameOptions: <string> // set X-Frame-Options header, to control which websites can embed this app
|
||||
```
|
||||
|
||||
All values are optional. See [Install app](/references/api.html#install-app) API for field descriptions.
|
||||
|
||||
Reference in New Issue
Block a user