Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Make the server check for correct SERVER_URL format #197

Open
jgomo3 opened this issue Dec 15, 2016 · 3 comments
Open

Make the server check for correct SERVER_URL format #197

jgomo3 opened this issue Dec 15, 2016 · 3 comments

Comments

@jgomo3
Copy link

jgomo3 commented Dec 15, 2016

Only when trying to save a form, the client app receive the current Error:

Error: The remote URL must contain the version: <The SERVER_URL value>

I propose to give this warning or produce an error during server startup.

The code that make the checking in the client and throws the exception is in the kinto-client library

@almet
Copy link
Member

almet commented Dec 15, 2016

Hi,

This is indeed a good idea!
Would you like to work on a fix?

@jgomo3
Copy link
Author

jgomo3 commented Dec 17, 2016

I'll give it a try. Sure I'll have some questions in the path while I get familiar with the code.

@jgomo3
Copy link
Author

jgomo3 commented Dec 21, 2016

I created a pull request: #199

I would like to discuss it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants