From a47b7dd4943fbfda63ca2a01bc3b0d563bfbef5a Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 30 Oct 2014 16:19:53 -0400 Subject: [PATCH] More Vagrant stuff. --- snipts/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snipts/models.py b/snipts/models.py index 332cda3..15c0d33 100644 --- a/snipts/models.py +++ b/snipts/models.py @@ -168,7 +168,7 @@ class Snipt(models.Model): return u'https://{}.snipt.net/{}/'.format(self.user.username, self.slug) if settings.DEBUG: - root = 'http://snipt.localhost' + root = 'http://local.snipt.net' else: root = 'https://snipt.net' @@ -193,7 +193,7 @@ class Snipt(models.Model): filename = u'{}.txt'.format(self.slug) if settings.DEBUG: - root = 'http://snipt.localhost' + root = 'http://local.snipt.net' else: root = 'https://snipt.net' @@ -202,7 +202,7 @@ class Snipt(models.Model): def get_embed_url(self): if settings.DEBUG: - root = 'http://snipt.localhost' + root = 'http://local.snipt.net' else: root = 'https://snipt.net' @@ -211,7 +211,7 @@ class Snipt(models.Model): def get_raw_url(self): if settings.DEBUG: - root = 'http://snipt.localhost' + root = 'http://local.snipt.net' else: root = 'https://snipt.net'