Skip to content

Commit bde0b1f

Browse files
Change redirects for deployment
1 parent 6ce8853 commit bde0b1f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/public/js/flux-mods/pricing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ window.onload = () => {
232232
description: 'Thank You For Ordering!',
233233
image: 'https://i.ibb.co/ZJG2pG2/download-7.jpg',
234234
order_id: data.order.id,
235-
callback_url: `https://api.flux.codegasms.com/${data.verifyUrl}?frontendBase=http://localhost:8000&successRedirect=/mods/success&failureRedirect=/mods/failure`,
235+
callback_url: `https://api.flux.codegasms.com/${data.verifyUrl}?frontendBase=https://flux.codegasms.com&successRedirect=/mods/success&failureRedirect=/mods/failure`,
236236

237237
notes: {
238238
'custom-data': 'data',

client/public/js/space/pricing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ window.onload = () => {
227227
description: 'Thank You For Ordering!',
228228
image: 'https://i.ibb.co/ZJG2pG2/download-7.jpg',
229229
order_id: data.order.id,
230-
callback_url: `https://api.flux.codegasms.com/${data.verifyUrl}?frontendBase=http://localhost:8000&successRedirect=/space/success&failureRedirect=/space/failure`,
230+
callback_url: `https://api.flux.codegasms.com/${data.verifyUrl}?frontendBase=https://flux.codegasms.com&successRedirect=/space/success&failureRedirect=/space/failure`,
231231

232232
notes: {
233233
'custom-data': 'data',

client/views/login/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</svg>
4848
<span class="ml-3"> Sign In </span>
4949
</button>
50-
<button class="signup-button mt-5 tracking-wide font-semibold bg-indigo-500 text-gray-100 w-full py-4 rounded-lg hover:bg-indigo-700 transition-all duration-300 ease-in-out flex items-center justify-center focus:shadow-outline focus:outline-none" onclick="window.location.href='http://localhost:8000/register'">
50+
<button class="signup-button mt-5 tracking-wide font-semibold bg-indigo-500 text-gray-100 w-full py-4 rounded-lg hover:bg-indigo-700 transition-all duration-300 ease-in-out flex items-center justify-center focus:shadow-outline focus:outline-none" onclick="window.location.href='https://flux.codegasms.com/register'">
5151
<svg class="w-6 h-6 -ml-2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
5252
<path d="M16 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2" />
5353
<circle cx="8.5" cy="7" r="4" />

client/views/register/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</svg>
5151
<span class="ml-3"> Sign Up </span>
5252
</button>
53-
<button class="signin-button mt-5 tracking-wide font-semibold bg-indigo-500 text-gray-100 w-full py-4 rounded-lg hover:bg-indigo-700 transition-all duration-300 ease-in-out flex items-center justify-center focus:shadow-outline focus:outline-none" onclick="window.location.href='http://localhost:8000/login'">
53+
<button class="signin-button mt-5 tracking-wide font-semibold bg-indigo-500 text-gray-100 w-full py-4 rounded-lg hover:bg-indigo-700 transition-all duration-300 ease-in-out flex items-center justify-center focus:shadow-outline focus:outline-none" onclick="window.location.href='https://flux.codegasms.com/login'">
5454
<svg class="w-6 h-6 -ml-2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
5555
<path d="M16 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2" />
5656
<circle cx="8.5" cy="7" r="4" />

0 commit comments

Comments
 (0)