mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-23 01:54:37 +03:00
Fixes CORS error
This commit is contained in:
parent
08304fecc9
commit
a5097629c3
@ -59,8 +59,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? '{= defaultClientUrl =}';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? '{= defaultClientUrl =}');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? '{= defaultServerUrl =}';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? '{= defaultServerUrl =}');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -242,7 +242,7 @@
|
|||||||
"file",
|
"file",
|
||||||
"../out/sdk/wasp/server/config.ts"
|
"../out/sdk/wasp/server/config.ts"
|
||||||
],
|
],
|
||||||
"caae4cf8c442998ef1f07b099a93e5c680c92a55d8f1556912948ce85dccecd8"
|
"5dd35660e0969defaa3c180179919f4922ab7bc041746872dff7f2280c1872ae"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
|
@ -18,8 +18,8 @@ const resolvedConfig = merge(config.all, config[nodeEnv]);
|
|||||||
export default resolvedConfig;
|
export default resolvedConfig;
|
||||||
function getDevelopmentConfig() {
|
function getDevelopmentConfig() {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
const frontendUrl = (_a = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL)) !== null && _a !== void 0 ? _a : 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash((_a = process.env.WASP_WEB_CLIENT_URL) !== null && _a !== void 0 ? _a : 'http://localhost:3000/');
|
||||||
const serverUrl = (_b = stripTrailingSlash(process.env.WASP_SERVER_URL)) !== null && _b !== void 0 ? _b : 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash((_b = process.env.WASP_SERVER_URL) !== null && _b !== void 0 ? _b : 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../server/config.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,mCAAI,aAAa,CAAA;AAyBrD,MAAM,MAAM,GAIR;IACF,GAAG,EAAE;QACH,GAAG,EAAE,OAAO;QACZ,aAAa,EAAE,OAAO,KAAK,aAAa;QACxC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;QAC1D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;QACrC,kBAAkB,EAAE,EAAE;KACvB;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;AACjE,aAAa;AACb,eAAe,cAAc,CAAA;AAE7B,SAAS,oBAAoB;;IAC3B,MAAM,WAAW,GAAG,MAAA,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,mCAAK,wBAAwB,CAAC;IACrG,MAAM,SAAS,GAAG,MAAA,kBAAkB,CAAC,OAAO,CAAC,G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AAS,oBAAoB;;IAC3B,MAAM,WAAW,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,mCAAI,wBAAwB,CAAC,CAAC;IACpG,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,eAAe,mCAAI,uBAAuB,CAAC,CAAC;IAC7F,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,kBAAkB,EAAE,GAAG;KACxB,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,aAAa;QACb,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC,CAAA;AACH,CAAC"}
|
@ -48,8 +48,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? 'http://localhost:3000/');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -18,8 +18,8 @@ const resolvedConfig = merge(config.all, config[nodeEnv]);
|
|||||||
export default resolvedConfig;
|
export default resolvedConfig;
|
||||||
function getDevelopmentConfig() {
|
function getDevelopmentConfig() {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
const frontendUrl = (_a = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL)) !== null && _a !== void 0 ? _a : 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash((_a = process.env.WASP_WEB_CLIENT_URL) !== null && _a !== void 0 ? _a : 'http://localhost:3000/');
|
||||||
const serverUrl = (_b = stripTrailingSlash(process.env.WASP_SERVER_URL)) !== null && _b !== void 0 ? _b : 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash((_b = process.env.WASP_SERVER_URL) !== null && _b !== void 0 ? _b : 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../server/config.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,mCAAI,aAAa,CAAA;AAyBrD,MAAM,MAAM,GAIR;IACF,GAAG,EAAE;QACH,GAAG,EAAE,OAAO;QACZ,aAAa,EAAE,OAAO,KAAK,aAAa;QACxC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;QAC1D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;QACrC,kBAAkB,EAAE,EAAE;KACvB;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MA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C,YAAY;QACrC,kBAAkB,EAAE,EAAE;KACvB;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;AACjE,aAAa;AACb,eAAe,cAAc,CAAA;AAE7B,SAAS,oBAAoB;;IAC3B,MAAM,WAAW,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,mCAAI,wBAAwB,CAAC,CAAC;IACpG,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,eAAe,mCAAI,uBAAuB,CAAC,CAAC;IAC7F,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,kBAAkB,EAAE,GAAG;KACxB,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,aAAa;QACb,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC,CAAA;AACH,CAAC"}
|
@ -48,8 +48,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? 'http://localhost:3000/');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -242,7 +242,7 @@
|
|||||||
"file",
|
"file",
|
||||||
"../out/sdk/wasp/server/config.ts"
|
"../out/sdk/wasp/server/config.ts"
|
||||||
],
|
],
|
||||||
"caae4cf8c442998ef1f07b099a93e5c680c92a55d8f1556912948ce85dccecd8"
|
"5dd35660e0969defaa3c180179919f4922ab7bc041746872dff7f2280c1872ae"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
|
@ -18,8 +18,8 @@ const resolvedConfig = merge(config.all, config[nodeEnv]);
|
|||||||
export default resolvedConfig;
|
export default resolvedConfig;
|
||||||
function getDevelopmentConfig() {
|
function getDevelopmentConfig() {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
const frontendUrl = (_a = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL)) !== null && _a !== void 0 ? _a : 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash((_a = process.env.WASP_WEB_CLIENT_URL) !== null && _a !== void 0 ? _a : 'http://localhost:3000/');
|
||||||
const serverUrl = (_b = stripTrailingSlash(process.env.WASP_SERVER_URL)) !== null && _b !== void 0 ? _b : 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash((_b = process.env.WASP_SERVER_URL) !== null && _b !== void 0 ? _b : 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../server/config.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM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S,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,aAAa;QACb,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC,CAAA;AACH,CAAC"}
|
@ -48,8 +48,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? 'http://localhost:3000/');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -599,7 +599,7 @@
|
|||||||
"file",
|
"file",
|
||||||
"../out/sdk/wasp/server/config.ts"
|
"../out/sdk/wasp/server/config.ts"
|
||||||
],
|
],
|
||||||
"81c07491672473d70e3f5d107ab119ac2672d87836387484708943e2285c2590"
|
"7222022fceced6be8ce57e8fd06ea6dfe2100de5984d7a9bc752ed4d9ba6f4ef"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
|
@ -21,8 +21,8 @@ const resolvedConfig = merge(config.all, config[nodeEnv]);
|
|||||||
export default resolvedConfig;
|
export default resolvedConfig;
|
||||||
function getDevelopmentConfig() {
|
function getDevelopmentConfig() {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
const frontendUrl = (_a = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL)) !== null && _a !== void 0 ? _a : 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash((_a = process.env.WASP_WEB_CLIENT_URL) !== null && _a !== void 0 ? _a : 'http://localhost:3000/');
|
||||||
const serverUrl = (_b = stripTrailingSlash(process.env.WASP_SERVER_URL)) !== null && _b !== void 0 ? _b : 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash((_b = process.env.WASP_SERVER_URL) !== null && _b !== void 0 ? _b : 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../server/config.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,mCAAI,aAAa,CAAA;AA4BrD,MAAM,MAAM,GAIR;IACF,GAAG,EAAE;QACH,GAAG,EAAE,OAAO;QACZ,aAAa,EAAE,OAAO,KAAK,aAAa;QACxC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;QAC1D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;QACrC,kBAAkB,EAAE,EAAE;QACtB,IAAI,EAAE;YACJ,SAAS,EAAE,SAAS;SACrB;KACF;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;AACjE,aAAa;AACb,eAAe,cAAc,CAAA;AAE7B,SAAS,oBAAoB;;IAC3B,MAAM,WAAW,GAAG,MAAA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YAAY;QACrC,kBAAkB,EAAE,EAAE;QACtB,IAAI,EAAE;YACJ,SAAS,EAAE,SAAS;SACrB;KACF;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;AACjE,aAAa;AACb,eAAe,cAAc,CAAA;AAE7B,SAAS,oBAAoB;;IAC3B,MAAM,WAAW,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,mCAAI,wBAAwB,CAAC,CAAC;IACpG,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,eAAe,mCAAI,uBAAuB,CAAC,CAAC;IAC7F,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,kBAAkB,EAAE,GAAG;QACvB,IAAI,EAAE;YACJ,SAAS,EAAE,cAAc;SAC1B;KACF,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,aAAa;QACb,kBAAkB,EAAE,CAAC,WAAW,CAAC;QACjC,IAAI,EAAE;YACJ,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU;SAClC;KACF,CAAA;AACH,CAAC"}
|
@ -54,8 +54,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? 'http://localhost:3000/');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -249,7 +249,7 @@
|
|||||||
"file",
|
"file",
|
||||||
"../out/sdk/wasp/server/config.ts"
|
"../out/sdk/wasp/server/config.ts"
|
||||||
],
|
],
|
||||||
"caae4cf8c442998ef1f07b099a93e5c680c92a55d8f1556912948ce85dccecd8"
|
"5dd35660e0969defaa3c180179919f4922ab7bc041746872dff7f2280c1872ae"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
|
@ -18,8 +18,8 @@ const resolvedConfig = merge(config.all, config[nodeEnv]);
|
|||||||
export default resolvedConfig;
|
export default resolvedConfig;
|
||||||
function getDevelopmentConfig() {
|
function getDevelopmentConfig() {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
const frontendUrl = (_a = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL)) !== null && _a !== void 0 ? _a : 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash((_a = process.env.WASP_WEB_CLIENT_URL) !== null && _a !== void 0 ? _a : 'http://localhost:3000/');
|
||||||
const serverUrl = (_b = stripTrailingSlash(process.env.WASP_SERVER_URL)) !== null && _b !== void 0 ? _b : 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash((_b = process.env.WASP_SERVER_URL) !== null && _b !== void 0 ? _b : 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -1 +1 @@
|
|||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,kBAAkB,EAAE,GAAG;KACxB,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,aAAa;QACb,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC,CAAA;AACH,CAAC"}
|
@ -48,8 +48,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? 'http://localhost:3000/');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -242,7 +242,7 @@
|
|||||||
"file",
|
"file",
|
||||||
"../out/sdk/wasp/server/config.ts"
|
"../out/sdk/wasp/server/config.ts"
|
||||||
],
|
],
|
||||||
"caae4cf8c442998ef1f07b099a93e5c680c92a55d8f1556912948ce85dccecd8"
|
"5dd35660e0969defaa3c180179919f4922ab7bc041746872dff7f2280c1872ae"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
|
@ -18,8 +18,8 @@ const resolvedConfig = merge(config.all, config[nodeEnv]);
|
|||||||
export default resolvedConfig;
|
export default resolvedConfig;
|
||||||
function getDevelopmentConfig() {
|
function getDevelopmentConfig() {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
const frontendUrl = (_a = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL)) !== null && _a !== void 0 ? _a : 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash((_a = process.env.WASP_WEB_CLIENT_URL) !== null && _a !== void 0 ? _a : 'http://localhost:3000/');
|
||||||
const serverUrl = (_b = stripTrailingSlash(process.env.WASP_SERVER_URL)) !== null && _b !== void 0 ? _b : 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash((_b = process.env.WASP_SERVER_URL) !== null && _b !== void 0 ? _b : 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../server/config.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,cAAc,CAAA;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,mCAAI,aAAa,CAAA;AAyBrD,MAAM,MAAM,GAIR;IACF,GAAG,EAAE;QACH,GAAG,EAAE,OAAO;QACZ,aAAa,EAAE,OAAO,KAAK,aAAa;QACxC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;QAC1D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;QACrC,kBAAkB,EAAE,EAAE;KACvB;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAA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;QACrC,kBAAkB,EAAE,EAAE;KACvB;IACD,WAAW,EAAE,oBAAoB,EAAE;IACnC,UAAU,EAAE,mBAAmB,EAAE;CAClC,CAAA;AAED,MAAM,cAAc,GAAW,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;AACjE,aAAa;AACb,eAAe,cAAc,CAAA;AAE7B,SAAS,oBAAoB;;IAC3B,MAAM,WAAW,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,mCAAI,wBAAwB,CAAC,CAAC;IACpG,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,eAAe,mCAAI,uBAAuB,CAAC,CAAC;IAC7F,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,kBAAkB,EAAE,GAAG;KACxB,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO;QACL,aAAa;QACb,WAAW;QACX,aAAa;QACb,SAAS;QACT,aAAa;QACb,kBAAkB,EAAE,CAAC,WAAW,CAAC;KAClC,CAAA;AACH,CAAC"}
|
@ -48,8 +48,8 @@ const resolvedConfig: Config = merge(config.all, config[nodeEnv])
|
|||||||
export default resolvedConfig
|
export default resolvedConfig
|
||||||
|
|
||||||
function getDevelopmentConfig(): EnvConfig {
|
function getDevelopmentConfig(): EnvConfig {
|
||||||
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL) ?? 'http://localhost:3000/';
|
const frontendUrl = stripTrailingSlash(process.env.WASP_WEB_CLIENT_URL ?? 'http://localhost:3000/');
|
||||||
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL) ?? 'http://localhost:3001';
|
const serverUrl = stripTrailingSlash(process.env.WASP_SERVER_URL ?? 'http://localhost:3001');
|
||||||
return {
|
return {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
frontendUrl,
|
frontendUrl,
|
||||||
|
Loading…
Reference in New Issue
Block a user