@movvjs/svelte-schedule-view 0.4.22 → 0.4.23-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,13 @@ const instance = Axios.create();
8
8
  instance.defaults.headers.common['Content-Type'] = 'application/json';
9
9
  instance.interceptors.request.use(config => {
10
10
  const { accessToken, target, isDev, locale } = get(env);
11
- config.baseURL = API_URL[target][isDev ? 'DEV' : 'PROD'].API_URL;
11
+ console.log('config.url::', config.url);
12
+ console.log('inclues', config.url.includes('/partner/booking/auto/picket'));
13
+ if (config.url.includes('/partner/booking/auto/picket'))
14
+ config.baseURL = API_URL['FMS'][isDev ? 'DEV' : 'PROD'].API_URL;
15
+ else
16
+ config.baseURL = API_URL[target][isDev ? 'DEV' : 'PROD'].API_URL;
17
+ console.log('config.baseUrl', config.baseURL);
12
18
  config.headers['Accept-Language'] = (() => {
13
19
  switch (locale) {
14
20
  case 'en':
@@ -361,7 +361,7 @@ function openCalender() {
361
361
  {/if}
362
362
 
363
363
  <!-- ! AUTO 기능은 FMS만 가능 (임시) -->
364
- {#if $isPicketServiceSelected && $env.target === 'FMS'}
364
+ {#if $isPicketServiceSelected}
365
365
  <p class="switchs mg-l-auto">
366
366
  <input
367
367
  checked={$isAutoPicketFile}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movvjs/svelte-schedule-view",
3
- "version": "0.4.22",
3
+ "version": "0.4.23-beta-1",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "author": {