Complete pomf.cat

This commit is contained in:
Scratch 2015-10-03 13:38:07 +10:00
parent 800977cac2
commit 958ad0eaab
2 changed files with 4 additions and 1 deletions

View file

@ -29,7 +29,7 @@ public sealed class PomfCat : Pomf
{ {
public PomfCat() public PomfCat()
{ {
UploadURL = "https://pomf.cat/static/upload.php"; UploadURL = "https://pomf.cat/upload.php";
ResultURL = "https://a.pomf.cat"; ResultURL = "https://a.pomf.cat";
} }
} }

View file

@ -1072,6 +1072,9 @@ public UploadResult UploadFile(Stream stream, string fileName)
case FileDestination.MaxFile: case FileDestination.MaxFile:
fileUploader = new MaxFile(); fileUploader = new MaxFile();
break; break;
case FileDestination.PomfCat:
fileUploader = new PomfCat();
break;
case FileDestination.Dropfile: case FileDestination.Dropfile:
fileUploader = new Dropfile(); fileUploader = new Dropfile();
break; break;