diff --git a/src/Components/deviceFrame/index.js b/src/Components/deviceFrame/index.js index ca8c314..8df9589 100644 --- a/src/Components/deviceFrame/index.js +++ b/src/Components/deviceFrame/index.js @@ -48,26 +48,30 @@ var configMap = { "ipad-h": { bkg: ipadHPng, rotate: true, - width: "458px", - height: "326px", + width: "658px", + height: "496px", offsetv: "5px", imgStyle: { - transform: 'rotate(-90deg) scale(1.4)', + transform: 'rotate(-90deg)', + width: "506px", + height: "688px", }, styles: { - transform: "translate(-50%, -50%) scale(1.42)", + // transform: "translate(-50%, -50%) scale(1.42)", } }, "ipad-v": { bkg: ipadHPng, - width: "326px", - height: "458px", + width: "486px", + height: "648px", offsetv: "5px", imgStyle: { - transform: 'scale(1.4)', + // transform: 'scale(1.4)', + width: "506px", + height: "688px", }, styles: { - transform: "translate(-50%, -50%) scale(1.42)", + // transform: "translate(-50%, -50%) scale(1.42)", } }, }; diff --git a/src/apis/loginApi.js b/src/apis/loginApi.js index 2823738..63115d3 100644 --- a/src/apis/loginApi.js +++ b/src/apis/loginApi.js @@ -1,5 +1,6 @@ -// var BaseUrl = "https://api.soyootech.com/"; -var BaseUrl = "api/"; +var BaseUrl = "https://api.soyootech.com/"; + +// var BaseUrl = "api/"; export async function UserLogin(loginForm) { try { var response = await fetch(BaseUrl + "SoyooUser/previewlogin", { diff --git a/src/setupProxy.js b/src/setupProxy.js index 9316ff4..2026793 100644 --- a/src/setupProxy.js +++ b/src/setupProxy.js @@ -1,12 +1,12 @@ const { createProxyMiddleware } = require("http-proxy-middleware"); module.exports = function (app) { - app.use( - "/api", - createProxyMiddleware({ - target: "https://api.soyootech.com/", - changeOrigin: true, - pathRewrite: { "^/api": "" }, - }) - ); + // app.use( + // "/api", + // createProxyMiddleware({ + // target: "https://api.soyootech.com/", + // changeOrigin: true, + // pathRewrite: { "^/api": "" }, + // }) + // ); };