mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-04 13:19:48 +03:00
fix paste relative paths
This commit is contained in:
parent
7c9a506b84
commit
7f491f14c9
@ -1,4 +1,4 @@
|
||||
/= all /; flop /^ (list (pair time ,*)) /@ /mime/
|
||||
/= all /: /%%%/paste /; flop /^ (list (pair time ,*)) /@ /mime/
|
||||
;html
|
||||
;head:title:"Pastebin"
|
||||
;body
|
||||
@ -21,9 +21,9 @@
|
||||
txt:$("textarea").val(),
|
||||
typ:$("select :selected").val()
|
||||
}, function(){
|
||||
$.getJSON('paste.paste-new',null,function(resp){
|
||||
$.getJSON('../paste.paste-new',null,function(resp){
|
||||
if(!resp) throw "No paste"
|
||||
window.location = "paste/"+resp.u
|
||||
window.location = "../paste/"+resp.u
|
||||
})})
|
||||
}
|
||||
'''
|
||||
@ -39,6 +39,6 @@
|
||||
;button(onclick "submit()"):"Submit"
|
||||
;hr;
|
||||
;h1: Recent
|
||||
;* (turn all |=([a=time *] ;p:a/"paste/{<a>}":"{<a>}"))
|
||||
;* (turn all |=([a=time *] ;p:a/"../paste/{<a>}":"{<a>}"))
|
||||
==
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user