From 2795f827fcc13920c5d265848578edb29b187fec Mon Sep 17 00:00:00 2001
From: BinBin <puding2564@gmail.com>
Date: Mon, 13 Jun 2022 20:42:44 +0900
Subject: [PATCH] =?UTF-8?q?=EC=82=AD=EC=A0=9C=EC=8B=9C=20=ED=94=84?=
 =?UTF-8?q?=EB=A1=9C=ED=95=84=20=ED=99=94=EB=A9=B4=EC=9C=BC=EB=A1=9C=20?=
 =?UTF-8?q?=EC=9D=B4=EB=8F=99=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?=
 =?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 campics_/templates/jinstagram/post.html | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/campics_/templates/jinstagram/post.html b/campics_/templates/jinstagram/post.html
index 76830d0..edd8518 100644
--- a/campics_/templates/jinstagram/post.html
+++ b/campics_/templates/jinstagram/post.html
@@ -145,12 +145,13 @@
                 dataType: "json",
                 success: function (data){
                     alert(data.message);
-                    if ( '{{feed_type}}'=='False') {
-                        location.replace("{% url 'main'%}?type=photozone");
-                    }
-                    else {
-                        location.replace("{% url 'main'%}?type=scene");
-                    }
+                    // if ( '{{feed_type}}'=='False') {
+                    //     location.replace("{% url 'main'%}?type=photozone");
+                    // }
+                    // else {
+                    //     location.replace("{% url 'main'%}?type=scene");
+                    // }
+                    location.replace("{% url 'profile'%}");
                 },
                 error:function (request, status, error){
                     let data = JSON.parse(request.responseText);
-- 
GitLab