formbuilder icon indicating copy to clipboard operation
formbuilder copied to clipboard

Inject a checkpoint of correct SERVER_URL format by Kinto's standards

Open jgomo3 opened this issue 9 years ago • 4 comments

Use the KintoClient library to do the checking.

It is pending to make the code to obtain the URL from the app config instead of a ADHOC logic in the server startup.

I tried to get the config with:

var config = require("./formbuilder/config.js").default;

But get a Syntax Error.

jgomo3 avatar Dec 17 '16 03:12 jgomo3

I upgraded to kinto-http but I am having this error when running the server: TypeError: KintoClient is not a constructor Any idea about it?

Natim avatar Jul 05 '17 10:07 Natim

Thanks for taking the time to work on this and propose some code, this is appreciated. However, since this is almost one year old, I think we should close the issue.

Don't hesitate to submit again / reopen if you think we shouldn't have closed this.

almet avatar Nov 03 '17 14:11 almet

What about merging it instead?

Natim avatar Nov 03 '17 17:11 Natim

From your last comment, it seems to error-out. I'll let you decide what's best :) (reopening)

almet avatar Nov 03 '17 18:11 almet