amyleew / osrm-frontend

Frontend interface for project OSRM directions
http://amyleew.github.io/osrm-frontend/
1 stars 0 forks source link

Make url in browser change to short-link #6

Closed amyleew closed 9 years ago

amyleew commented 9 years ago

Per chat w/ @lxbarth, make full browser url into changeable link.

amyleew commented 9 years ago

@TheMatrex - What's driving the functionality of shortenURL button? require('url')? Seems I need to add more code to get it working.

image

links.js#L9 is producing a lat error when I click the links button on my version. What am I missing?

image

This really needs to populate the browser url with a link instead. Would I need another approach for this?

/cc @tristen

amyleew commented 9 years ago

Completed 56deb3