Raynes / refheap

The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
129 stars 30 forks source link

Allow overriding what URL to include in reply. #128

Open sundbp opened 10 years ago

sundbp commented 10 years ago

For self-hosting and working together with e.g. refheap.el need to return a different base url.

Raynes commented 10 years ago

Eek, apologies! I should never be hardcoding URIs like this!

Can we use "REFHEAP_URL" instead of "REPLY_URL"? The former makes more sense if we use this environment variable elsewhere.

sundbp commented 10 years ago

sure, that's fine by me.

On Tue, Apr 15, 2014 at 5:48 PM, Anthony Grimes notifications@github.comwrote:

Eek, apologies! I should never be hardcoding URIs like this!

Can we use "REFHEAP_URL" instead of "REPLY_URL"? The former makes more sense if we use this environment variable elsewhere.

— Reply to this email directly or view it on GitHubhttps://github.com/Raynes/refheap/pull/128#issuecomment-40505384 .

sundbp commented 10 years ago

and thanks!

On Tue, Apr 15, 2014 at 5:49 PM, Patrik Sundberg patrik.sundberg@gmail.comwrote:

sure, that's fine by me.

On Tue, Apr 15, 2014 at 5:48 PM, Anthony Grimes notifications@github.comwrote:

Eek, apologies! I should never be hardcoding URIs like this!

Can we use "REFHEAP_URL" instead of "REPLY_URL"? The former makes more sense if we use this environment variable elsewhere.

— Reply to this email directly or view it on GitHubhttps://github.com/Raynes/refheap/pull/128#issuecomment-40505384 .