summaryrefslogtreecommitdiff
path: root/static/js/register.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/register.js')
-rwxr-xr-xstatic/js/register.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/register.js b/static/js/register.js
index c767e92..0f5bb1f 100755
--- a/static/js/register.js
+++ b/static/js/register.js
@@ -34,7 +34,7 @@ function submitRegistration() {
if (window.history && history.length > 1)
history.go(-1);
else
- location.href = '/';
+ location.href = 'http://dump.fm/';
};
var onError = function(resp) {
@@ -54,7 +54,7 @@ function submitRegistration() {
$.ajax({
type: 'POST',
timeout: 5000,
- url: '/submit-registration',
+ url: '/dubmit-registration',
data: {'nick': nick, 'email': email, 'hash': hash },
cache: false,
dataType: 'json',