mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
REQUEST now supports POST (#588)
* REQUEST now supports POST * Add extra flag for enabling REQUEST, also update README and comments Co-authored-by: John Cant <a.jonncant@gmail.com> Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
This commit is contained in:
@@ -66,6 +66,11 @@ export async function main() {
|
||||
process.env.GRIST_EXPERIMENTAL_PLUGINS = "1";
|
||||
}
|
||||
|
||||
// Experimental plugins are enabled by default for devs
|
||||
if (!process.env.GRIST_ENABLE_REQUEST_FUNCTION) {
|
||||
process.env.GRIST_ENABLE_REQUEST_FUNCTION = "1";
|
||||
}
|
||||
|
||||
// For tests, it is useful to start with the database in a known state.
|
||||
// If TEST_CLEAN_DATABASE is set, we reset the database before starting.
|
||||
if (process.env.TEST_CLEAN_DATABASE) {
|
||||
|
||||
Reference in New Issue
Block a user