Hi,
I set up my dev environment at a site called "
osci.dev".
I'm trying to figure out the best fix for this -- should I make all of the paths root relative, or did you want to simulate an environment where there are 2 different sites, one for the backend and one for the front end?
I could also try to make the paths relative if you are assuming one site and would prefer that.
Also, I see that in another spot there are root relative URLs like this:
endpoints: {
'OsciTkNote': '/osci_tk/api/notes/',
'OsciTkSearch': '/osci_tk/api/search/',
'OsciTkOpenSearch': '/osci_tk/api/opensearch/',
'OsciTkAccount': '/osci_tk/api/users/',
'OsciTkCitation': '/osci_tk/api/citations/'
},
I don't have anything called /osci_tk/ but I beleive /api works due to While I can make changes to fix this for me, I'm wondering what the best solution would be for distributing this code (what I should include in a pull request) -- should there be some config param with the prefix? should there be an alias as part of the install, similar to the frontend alias? it seems a bit odd to alias /osci_tk/ to /
Tom