ports/www/purritobin/patches/patch-frontend_index_html

12 lines
433 B
Text

Index: frontend/index.html
--- frontend/index.html.orig
+++ frontend/index.html
@@ -26,7 +26,7 @@
the pasting website in its headers.
Look at the man page for an example.
*/
- var PURRITOBIN_URL = "https://bsd.ac:42069";
+ var PURRITOBIN_URL = location.protocol+"//"+location.host+":42069";
/********************************************/
function makeHttpObject() {