craigsapp / website-polish-scores

Front-end for digital transcriptions of the Polish Music Heritage in Open Access project
https://polishscores.org
3 stars 1 forks source link

Change `config` URL parameter to `con` #270

Closed craigsapp closed 4 months ago

craigsapp commented 4 months ago

But still allow config as an alias when reading from URL.

craigsapp commented 4 months ago

Implemented in commit https://github.com/craigsapp/website-polish-scores/commit/9487bfd2cd200f3eb2b0e52efbaf8e6ae3151253 and https://github.com/craigsapp/website-polish-scores/commit/921e2da5dd940907319ebc5bfc3ef8ece116524d

The URL

https://polishscores.org/?id=18xx:393&con=AsSsTsHs

Loads the configuration AsSsHs:

Screenshot 2024-02-10 at 19 44 08

This URL using config also works:

https://polishscores.org/?id=18xx:393&config=AsSsTsHs

And will be converted in the browser to the con version:

https://polishscores.org/?id=18xx:393&con=AsSsTsHs

Screenshot 2024-02-10 at 19 45 04