ソースを参照

Tinyify. Fix one environment variable.

Lee Morgan 6 年 前
コミット
ee13e64b83
2 ファイル変更1 行追加3134 行削除
  1. 1 1
      controllers/otherData.js
  2. 0 3133
      views/dashboardPage/bundle.js

+ 1 - 1
controllers/otherData.js

@@ -54,7 +54,7 @@ module.exports = {
 
 
     //GET - Redirects user to Square OAuth page
     //GET - Redirects user to Square OAuth page
     squareRedirect: function(req, res){
     squareRedirect: function(req, res){
-        return res.redirect(`https://connect.squareupsandbox.com/oauth2/authorize?client_id=${process.env.SUBLINE_SQUARE_APPID}&scope=INVENTORY_READ+ITEMS_READ+MERCHANT_PROFILE_READ+ORDERS_READ+PAYMENTS_READ`);
+        return res.redirect(`${process.env.SQUARE_ADDRESS}/oauth2/authorize?client_id=${process.env.SUBLINE_SQUARE_APPID}&scope=INVENTORY_READ+ITEMS_READ+MERCHANT_PROFILE_READ+ORDERS_READ+PAYMENTS_READ`);
     },
     },
 
 
     //GET - Get access token from clover and  redirect to merchant creation
     //GET - Get access token from clover and  redirect to merchant creation

ファイルの差分が大きいため隠しています
+ 0 - 3133
views/dashboardPage/bundle.js


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません