Use zneix haste server

This commit is contained in:
Jaime Martínez Rincón 2021-03-07 13:36:03 +01:00
parent 5228ef6ff6
commit ca025f7845
No known key found for this signature in database
GPG Key ID: D7F007B5BBA8E142
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public enum PasteHelper {
}
};
private static final String HASTEBIN_HOST = "https://hastebin.com/";
private static final String HASTEBIN_HOST = "https://haste.zneix.eu/";
private URL lastPasteUrl;

View File

@ -7,7 +7,7 @@ import static org.junit.Assert.*;
public class HastebinPasteTest {
@Test
public void test() throws Exception {
HastebinPaste paste = new HastebinPaste("https://hastebin.com/",
HastebinPaste paste = new HastebinPaste("https://haste.zneix.eu/",
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed " +
"iaculis, sapien et vehicula tristique, diam libero bibendum " +
"nunc, et rutrum nisl nulla quis diam. Cras ipsum enim, molestie" +