forked from j62/ctbrec
Change affiliate links to match the correct program
This commit is contained in:
parent
f4842fcf51
commit
1b1472540f
|
@ -41,7 +41,8 @@ public class Chaturbate implements Site {
|
||||||
|
|
||||||
private static final transient Logger LOG = LoggerFactory.getLogger(Chaturbate.class);
|
private static final transient Logger LOG = LoggerFactory.getLogger(Chaturbate.class);
|
||||||
public static final String BASE_URI = "https://chaturbate.com";
|
public static final String BASE_URI = "https://chaturbate.com";
|
||||||
public static final String AFFILIATE_LINK = BASE_URI + "/in/?track=default&tour=LQps&campaign=55vTi&room=0xb00bface";
|
public static final String AFFILIATE_LINK = BASE_URI + "/in/?track=default&tour=grq0&campaign=55vTi";
|
||||||
|
public static final String REGISTRATION_LINK = BASE_URI + "/in/?track=default&tour=g4pe&campaign=55vTi";
|
||||||
private Recorder recorder;
|
private Recorder recorder;
|
||||||
private ChaturbateHttpClient httpClient;
|
private ChaturbateHttpClient httpClient;
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,7 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
||||||
layout.add(password, 1, 1);
|
layout.add(password, 1, 1);
|
||||||
|
|
||||||
Button createAccount = new Button("Create new Account");
|
Button createAccount = new Button("Create new Account");
|
||||||
createAccount.setOnAction((e) -> DesktopIntergation.open(Chaturbate.AFFILIATE_LINK));
|
createAccount.setOnAction((e) -> DesktopIntergation.open(Chaturbate.REGISTRATION_LINK));
|
||||||
layout.add(createAccount, 1, 2);
|
layout.add(createAccount, 1, 2);
|
||||||
GridPane.setColumnSpan(createAccount, 2);
|
GridPane.setColumnSpan(createAccount, 2);
|
||||||
GridPane.setMargin(username, new Insets(0, 0, 0, CHECKBOX_MARGIN));
|
GridPane.setMargin(username, new Insets(0, 0, 0, CHECKBOX_MARGIN));
|
||||||
|
|
Loading…
Reference in New Issue