Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/components/applications/developer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class DeveloperApplication extends Component {
handleSubmit = (event) => {
event.preventDefault();
const message = `Developer Application submitted at ${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString()}.\n\n**Email:** ${document.getElementById("email").value}\n**Discord:** ${document.getElementById("username").value}\n**How active are you?:** ${document.getElementById("active").value}\n**Do you have any experience with Node.js or Python?:** ${document.getElementById("nodejspython").value}\n**Do you have any experience with Lua:?** ${document.getElementById("lua").value}\n**Which one would you prefer?:** ${document.getElementById("langpreference").value}\n**What kind of development do you prefer to do?:** ${document.getElementById("developmentpreference").value}\n**Any questions?:** ${document.getElementById("questions").value || "N/A"}`;
fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down Expand Up @@ -101,4 +101,4 @@ export default class DeveloperApplication extends Component {
</div>
);
}
};
};
4 changes: 2 additions & 2 deletions client/components/applications/dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class DSAApplication extends Component {
event.preventDefault();
const message = `DSA Application submitted at ${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString()}.\n\n**Email:** ${document.getElementById("email").value}\n**Discord:** ${document.getElementById("username").value}\n**Which rule(s) did you break?:** ${document.getElementById("rulesbroken").value}\n**Why did you break the rule(s)?:** ${document.getElementById("rulebreachanswer").value}\n**Any questions?:** ${document.getElementById("questions").value || "N/A"}`;

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down Expand Up @@ -70,4 +70,4 @@ export default class DSAApplication extends Component {
</div>
);
}
};
};
2 changes: 1 addition & 1 deletion client/components/applications/moderator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class ModeratorApplication extends Component {
console.log(document.getElementById("email"))
console.log(document.getElementById("email").value);

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down
4 changes: 2 additions & 2 deletions client/components/applications/partnership.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class PartnershipApplication extends Component {
event.preventDefault();
const message = `Partnership Application submitted at ${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString()}.\n\n**Email:** ${document.getElementById("email").value}\n**Discord:** ${document.getElementById("username").value}\n**What position do you hold within your group?:** ${document.getElementById("groupposition").value}\n**Why do you want to behold a partnership with Matrix?:** ${document.getElementById("partnershipreason").value}\n**Do you have any interests with Matrix?:** ${document.getElementById("matrixinterests").value}\n**What are the benefits for Matrix to have you as a partner?:** ${document.getElementById("partnershipbenefits").value}\n**Does your group have any requirements for a partnership with another group? If your group doesn't have any requirements, then skip this question:** ${document.getElementById("partneredgrouprequirements").value || "N/A"}\n**Are you interested in a career within Matrix?:** ${document.getElementById("matrixcareerinterests").value}\n**Any questions?:** ${document.getElementById("questions").value || "N/A"}`;

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down Expand Up @@ -86,4 +86,4 @@ export default class PartnershipApplication extends Component {
</div>
);
}
};
};
4 changes: 2 additions & 2 deletions client/components/applications/supervisor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class SupervisorApplication extends Component {
event.preventDefault();
const message = `Supervisor Application submitted at ${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString()}.\n\n**Email:** ${document.getElementById("email").value}\n**Discord:** ${document.getElementById("username").value}\n**What would you do if you see a staff member break a rule?:** ${document.getElementById("staffrulebreakanswer").value}\n**What would you do if you see a member breaking the rules?:** ${document.getElementById("partnershipreason").value}\n**How good is your grammar?:** ${document.getElementById("grammar").value}\n**Any questions?:** ${document.getElementById("questions").value || "N/A"}`;

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down Expand Up @@ -78,4 +78,4 @@ export default class SupervisorApplication extends Component {
</div>
);
}
};
};
4 changes: 2 additions & 2 deletions client/components/applications/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class SupportApplication extends Component {
event.preventDefault();
const message = `Support Application submitted at ${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString()}.\n\n**Email:** ${document.getElementById("email").value}\n**Discord:** ${document.getElementById("username").value}\n**What do you do if you see someone breaking the rules?:** ${document.getElementById("rulebreakanswer").value}\n**What would you do if there is a person asking asking for help?:** ${document.getElementById("personhelpanswer").value}\n**How active are you on Discord?:** ${document.getElementById("active").value}\n**How good is your grammar?:** ${document.getElementById("grammar").value}\n**Any questions?:** ${document.getElementById("questions").value || "N/A"}`;

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down Expand Up @@ -82,4 +82,4 @@ export default class SupportApplication extends Component {
</div>
);
}
};
};
2 changes: 1 addition & 1 deletion client/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class About extends Component {
};

componentDidMount() {
fetch("https://matrixwebsite.cssudii.tk/api/v1/oauth/details", {
fetch("https://matrixdev.xyz/api/v1/oauth/details", {
credentials: "include"
})
.then(res => res.json())
Expand Down
4 changes: 2 additions & 2 deletions client/pages/applications.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class Applications extends Component {
};

componentDidMount() {
fetch("https://matrixwebsite.cssudii.tk/api/v1/oauth/details", {
fetch("https://matrixdev.xyz/api/v1/oauth/details", {
credentials: "include"
})
.then(res => res.json())
Expand Down Expand Up @@ -270,4 +270,4 @@ export default class Applications extends Component {
</Fragment>
);
};
};
};
2 changes: 1 addition & 1 deletion client/pages/disclaimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class Disclaimer extends Component {
};

componentDidMount() {
fetch("https://matrixwebsite.cssudii.tk/api/v1/oauth/details", {
fetch("https://matrixdev.xyz/api/v1/oauth/details", {
credentials: "include"
})
.then(res => res.json())
Expand Down
4 changes: 2 additions & 2 deletions client/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Home extends Component {
};

componentDidMount() {
fetch("https://matrixwebsite.cssudii.tk/api/v1/oauth/details", {
fetch("https://matrixdev.xyz/api/v1/oauth/details", {
credentials: "include"
})
.then(res => res.json())
Expand All @@ -38,7 +38,7 @@ export default class Home extends Component {
})
.catch((error) => this.setState({ pending: false }) && console.log(error));

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down
4 changes: 2 additions & 2 deletions client/pages/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Home extends Component {
};

componentDidMount() {
fetch("https://matrixwebsite.cssudii.tk/api/v1/oauth/details", {
fetch("https://matrixdev.xyz/api/v1/oauth/details", {
credentials: "include"
})
.then(res => res.json())
Expand All @@ -35,7 +35,7 @@ export default class Home extends Component {
})
.catch(() => this.setState({ pending: false }));

fetch("https://matrixwebsite.cssudii.tk/api/v1/get/server/755687537753718815", {
fetch("https://matrixdev.xyz/api/v1/get/server/755687537753718815", {
credentials: "include"
})
.then(res => res.json())
Expand Down
2 changes: 1 addition & 1 deletion client/pages/tos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.