This commit is contained in:
Eliot Whalan 2016-06-19 17:50:10 +10:00
parent 2e76f4c5b1
commit 62f8f95525
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const (
ADDRESS = "http://localhost:9900" ADDRESS = "http://localhost:9900"
LENGTH = 6 LENGTH = 6
PASTEARGS = ADDRESS + "/p/{PASTE}/(python|language)\n" PASTEARGS = ADDRESS + "/p/{PASTE}/(python|language)\n"
URLARGS = ADDRESS + "save/XML|JSON\n" URLARGS = ADDRESS + "/save/XML|JSON\n"
SOURCE = "Source: https://github.com/ewhal/Pastebin\n" SOURCE = "Source: https://github.com/ewhal/Pastebin\n"
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n" + PASTEARGS + URLARGS + SOURCE TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n" + PASTEARGS + URLARGS + SOURCE
PORT = ":9900" PORT = ":9900"