Skip to content

URLs fix - all UI on smartcitizen.me, all API on api.smartcitizen.me #416

@timcowlishaw

Description

@timcowlishaw

In our weird transitory state, some of our UI lives at smartcitizen.me (the map and landing page), and everything else now lives on api.smartcitizen.me, as it's part of the rails app. This is counterintuitive and unsightly.

However, it's also a bit tricky - I've tried to set up some reverse proxies and redirects to organise the URLs properly, but it doesn't work, as the current contents of smartcitizen.me (also aliased at map.smartcitizen.me) is served on github pages, which uses cloudflare, and cloudflare raises an error if you put cloudflare in front of itself, even with a reverse proxy in the middle.

The solution is either to:

  • serve the map and landing page from our own server, and get rid of github pages
  • OR just hurry up and replace the map already!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions