update sso
This commit is contained in:
@ -1,23 +1,23 @@
|
|||||||
{
|
{
|
||||||
"files": {
|
"files": {
|
||||||
"static/css/0.0ef68903.chunk.css": "./static/css/0.0ef68903.chunk.css",
|
"static/css/0.0ef68903.chunk.css": "./static/css/0.0ef68903.chunk.css",
|
||||||
"static/js/0.460712f0.chunk.js": "./static/js/0.460712f0.chunk.js",
|
"static/js/0.454187f8.chunk.js": "./static/js/0.454187f8.chunk.js",
|
||||||
"static/js/0.460712f0.chunk.js.map": "./static/js/0.460712f0.chunk.js.map",
|
"static/js/0.454187f8.chunk.js.map": "./static/js/0.454187f8.chunk.js.map",
|
||||||
"static/js/1.391c183b.chunk.js": "./static/js/1.391c183b.chunk.js",
|
"static/js/1.d251e391.chunk.js": "./static/js/1.d251e391.chunk.js",
|
||||||
"static/js/1.391c183b.chunk.js.map": "./static/js/1.391c183b.chunk.js.map",
|
"static/js/1.d251e391.chunk.js.map": "./static/js/1.d251e391.chunk.js.map",
|
||||||
"main.css": "./static/css/main.4ecfe4c7.chunk.css",
|
"main.css": "./static/css/main.4ecfe4c7.chunk.css",
|
||||||
"main.js": "./static/js/main.4ae96613.chunk.js",
|
"main.js": "./static/js/main.4ae96613.chunk.js",
|
||||||
"main.js.map": "./static/js/main.4ae96613.chunk.js.map",
|
"main.js.map": "./static/js/main.4ae96613.chunk.js.map",
|
||||||
"runtime-main.js": "./static/js/runtime-main.06e6f9df.js",
|
"runtime-main.js": "./static/js/runtime-main.caf2d1a3.js",
|
||||||
"runtime-main.js.map": "./static/js/runtime-main.06e6f9df.js.map",
|
"runtime-main.js.map": "./static/js/runtime-main.caf2d1a3.js.map",
|
||||||
"static/js/4.86a777f2.chunk.js": "./static/js/4.86a777f2.chunk.js",
|
"static/js/4.86a777f2.chunk.js": "./static/js/4.86a777f2.chunk.js",
|
||||||
"static/js/4.86a777f2.chunk.js.map": "./static/js/4.86a777f2.chunk.js.map",
|
"static/js/4.86a777f2.chunk.js.map": "./static/js/4.86a777f2.chunk.js.map",
|
||||||
"static/js/5.1649b70d.chunk.js": "./static/js/5.1649b70d.chunk.js",
|
"static/js/5.f92d0105.chunk.js": "./static/js/5.f92d0105.chunk.js",
|
||||||
"static/js/5.1649b70d.chunk.js.map": "./static/js/5.1649b70d.chunk.js.map",
|
"static/js/5.f92d0105.chunk.js.map": "./static/js/5.f92d0105.chunk.js.map",
|
||||||
"static/js/6.d75b4d5a.chunk.js": "./static/js/6.d75b4d5a.chunk.js",
|
"static/js/6.e790f301.chunk.js": "./static/js/6.e790f301.chunk.js",
|
||||||
"static/js/6.d75b4d5a.chunk.js.map": "./static/js/6.d75b4d5a.chunk.js.map",
|
"static/js/6.e790f301.chunk.js.map": "./static/js/6.e790f301.chunk.js.map",
|
||||||
"static/js/7.334c7665.chunk.js": "./static/js/7.334c7665.chunk.js",
|
"static/js/7.11b34811.chunk.js": "./static/js/7.11b34811.chunk.js",
|
||||||
"static/js/7.334c7665.chunk.js.map": "./static/js/7.334c7665.chunk.js.map",
|
"static/js/7.11b34811.chunk.js.map": "./static/js/7.11b34811.chunk.js.map",
|
||||||
"static/js/8.691d6ee0.chunk.js": "./static/js/8.691d6ee0.chunk.js",
|
"static/js/8.691d6ee0.chunk.js": "./static/js/8.691d6ee0.chunk.js",
|
||||||
"static/js/8.691d6ee0.chunk.js.map": "./static/js/8.691d6ee0.chunk.js.map",
|
"static/js/8.691d6ee0.chunk.js.map": "./static/js/8.691d6ee0.chunk.js.map",
|
||||||
"static/js/9.4d60c4c5.chunk.js": "./static/js/9.4d60c4c5.chunk.js",
|
"static/js/9.4d60c4c5.chunk.js": "./static/js/9.4d60c4c5.chunk.js",
|
||||||
@ -37,11 +37,12 @@
|
|||||||
"index.html": "./index.html",
|
"index.html": "./index.html",
|
||||||
"static/css/0.0ef68903.chunk.css.map": "./static/css/0.0ef68903.chunk.css.map",
|
"static/css/0.0ef68903.chunk.css.map": "./static/css/0.0ef68903.chunk.css.map",
|
||||||
"static/css/main.4ecfe4c7.chunk.css.map": "./static/css/main.4ecfe4c7.chunk.css.map",
|
"static/css/main.4ecfe4c7.chunk.css.map": "./static/css/main.4ecfe4c7.chunk.css.map",
|
||||||
"static/js/0.460712f0.chunk.js.LICENSE.txt": "./static/js/0.460712f0.chunk.js.LICENSE.txt",
|
"static/js/0.454187f8.chunk.js.LICENSE.txt": "./static/js/0.454187f8.chunk.js.LICENSE.txt",
|
||||||
"static/js/4.86a777f2.chunk.js.LICENSE.txt": "./static/js/4.86a777f2.chunk.js.LICENSE.txt"
|
"static/js/4.86a777f2.chunk.js.LICENSE.txt": "./static/js/4.86a777f2.chunk.js.LICENSE.txt",
|
||||||
|
"static/js/6.e790f301.chunk.js.LICENSE.txt": "./static/js/6.e790f301.chunk.js.LICENSE.txt"
|
||||||
},
|
},
|
||||||
"entrypoints": [
|
"entrypoints": [
|
||||||
"static/js/runtime-main.06e6f9df.js",
|
"static/js/runtime-main.caf2d1a3.js",
|
||||||
"static/js/4.86a777f2.chunk.js",
|
"static/js/4.86a777f2.chunk.js",
|
||||||
"static/css/main.4ecfe4c7.chunk.css",
|
"static/css/main.4ecfe4c7.chunk.css",
|
||||||
"static/js/main.4ae96613.chunk.js"
|
"static/js/main.4ae96613.chunk.js"
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template"><meta name="author" content="Łukasz Holeczek"><meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"><title>FBS Admin tool</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link href="./static/css/main.4ecfe4c7.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&s.push(c[o][0]),c[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return a.push.apply(a,f||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==c[i]&&(n=!1)}n&&(a.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},c={3:0},a=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",1:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",c=u.p+n,a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var f=(d=a[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===c))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===c)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||c,a=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=n,delete o[e],s.parentNode.removeChild(s),r(a)},s.href=c,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=c[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=c[e]=[t,n]}));t.push(r[2]=n);var a,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"460712f0",1:"391c183b",5:"1649b70d",6:"d75b4d5a",7:"334c7665",8:"691d6ee0",9:"4d60c4c5",10:"39a27b50",11:"c5e037e0",12:"118179c3",13:"90d53c71",14:"9a037818",15:"360cec3e"}[e]+".chunk.js"}(e);var f=new Error;a=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=c[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}c[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:i})}),12e4);i.onerror=i.onload=a,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([])</script><script src="./static/js/4.86a777f2.chunk.js"></script><script src="./static/js/main.4ae96613.chunk.js"></script></body></html>
|
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template"><meta name="author" content="Łukasz Holeczek"><meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"><title>FBS Admin tool</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link href="./static/css/main.4ecfe4c7.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",1:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(d=c[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"454187f8",1:"d251e391",5:"f92d0105",6:"e790f301",7:"11b34811",8:"691d6ee0",9:"4d60c4c5",10:"39a27b50",11:"c5e037e0",12:"118179c3",13:"90d53c71",14:"9a037818",15:"360cec3e"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([])</script><script src="./static/js/4.86a777f2.chunk.js"></script><script src="./static/js/main.4ae96613.chunk.js"></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
build/static/js/6.e790f301.chunk.js
Normal file
3
build/static/js/6.e790f301.chunk.js
Normal file
File diff suppressed because one or more lines are too long
6
build/static/js/6.e790f301.chunk.js.LICENSE.txt
Normal file
6
build/static/js/6.e790f301.chunk.js.LICENSE.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* cookie
|
||||||
|
* Copyright(c) 2012-2014 Roman Shtylman
|
||||||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||||||
|
* MIT Licensed
|
||||||
|
*/
|
||||||
1
build/static/js/6.e790f301.chunk.js.map
Normal file
1
build/static/js/6.e790f301.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
|||||||
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[7],{688:function(e,t,c){"use strict";c.r(t);var n=c(646),i=c(1),s=c(637),r=c.n(s),a=c(630),l=c(629),j=c(17);t.default=function(){var e=Object(i.useState)(null),t=Object(n.a)(e,2),c=t[0],s=t[1];return Object(j.jsx)("div",{children:Object(j.jsxs)(a.f,{children:[Object(j.jsx)(a.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9"}),Object(j.jsxs)(a.g,{children:[Object(j.jsxs)(a.t,{row:!0,children:[Object(j.jsx)(a.k,{md:"3",children:Object(j.jsx)(a.H,{htmlFor:"date-input",children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044"})}),Object(j.jsx)(a.k,{xs:"12",md:"9",children:Object(j.jsx)(a.C,{type:"file",onChange:function(e){s(e.target.files[0])},id:"file-input",name:"file-input"})})]}),Object(j.jsx)(a.h,{children:Object(j.jsxs)(a.e,{type:"submit",onClick:function(e){var t=new FormData;t.append("file",c),r.a.post("http://natnats.mobilous.com:8000/upload",t,{}).then((function(e){console.log(e.statusText)}))},size:"sm",color:"primary",children:[Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9"]})})]})]})})}}}]);
|
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[7],{688:function(e,t,c){"use strict";c.r(t);var n=c(647),i=c(1),s=c(638),r=c.n(s),a=c(630),l=c(629),j=c(17);t.default=function(){var e=Object(i.useState)(null),t=Object(n.a)(e,2),c=t[0],s=t[1];return Object(j.jsx)("div",{children:Object(j.jsxs)(a.f,{children:[Object(j.jsx)(a.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9"}),Object(j.jsxs)(a.g,{children:[Object(j.jsxs)(a.t,{row:!0,children:[Object(j.jsx)(a.k,{md:"3",children:Object(j.jsx)(a.H,{htmlFor:"date-input",children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044"})}),Object(j.jsx)(a.k,{xs:"12",md:"9",children:Object(j.jsx)(a.C,{type:"file",onChange:function(e){s(e.target.files[0])},id:"file-input",name:"file-input"})})]}),Object(j.jsx)(a.h,{children:Object(j.jsxs)(a.e,{type:"submit",onClick:function(e){var t=new FormData;t.append("file",c),r.a.post("http://natnats.mobilous.com:8000/upload",t,{}).then((function(e){console.log(e.statusText)}))},size:"sm",color:"primary",children:[Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9"]})})]})]})})}}}]);
|
||||||
//# sourceMappingURL=7.334c7665.chunk.js.map
|
//# sourceMappingURL=7.11b34811.chunk.js.map
|
||||||
@ -1 +1 @@
|
|||||||
{"version":3,"sources":["views/Uploader/index.js"],"names":["Uploader","useState","file","setFile","row","md","htmlFor","xs","type","onChange","e","target","files","id","name","onClick","data","FormData","append","axios","post","then","res","console","log","statusText","size","color"],"mappings":"mPA4DeA,UA3Cf,WAEE,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAiBA,OACE,8BACE,eAAC,IAAD,WACA,cAAC,IAAD,mDAGA,eAAC,IAAD,WACA,eAAC,IAAD,CAAYC,KAAG,EAAf,UACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,cAAC,IAAD,CAAQC,QAAQ,aAAhB,wIAEF,cAAC,IAAD,CAAMC,GAAG,KAAKF,GAAG,IAAjB,SACE,cAAC,IAAD,CAAYG,KAAK,OAAOC,SA3BhC,SAAyBC,GACvBP,EAAQO,EAAEC,OAAOC,MAAM,KA0BkCC,GAAG,aAAaC,KAAK,oBAG5E,cAAC,IAAD,UACA,eAAC,IAAD,CAASN,KAAK,SAASO,QA3B3B,SAAwBL,GACtB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,IAAMC,KAAK,0CAA2CJ,EAAM,IAEzDK,MAAK,SAAAC,GACJC,QAAQC,IAAIF,EAAIG,gBAoB8BC,KAAK,KAAKC,MAAM,UAAhE,UAA0E,cAAC,IAAD,CAAOb,KAAK,iBAAtF","file":"static/js/7.334c7665.chunk.js","sourcesContent":["import React, {useState} from 'react';\nimport axios from 'axios';\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\n\nfunction Uploader() {\n\n const [file, setFile] = useState(null);\n\n function onChangeHandler(e){\n setFile(e.target.files[0])\n }\n\n function onClickHandler(e) {\n const data = new FormData()\n data.append('file', file);\n //console.log(file);\n axios.post(\"http://natnats.mobilous.com:8000/upload\", data, { // receive two parameter endpoint url ,form data\n })\n .then(res => { // then print response status\n console.log(res.statusText)\n });\n }\n\n return (\n <div>\n <CCard>\n <CCardHeader>\n アップロード\n </CCardHeader>\n <CCardBody>\n <CFormGroup row>\n <CCol md=\"3\">\n <CLabel htmlFor=\"date-input\">アップロードするファイルを選んでください</CLabel>\n </CCol>\n <CCol xs=\"12\" md=\"9\">\n <CInputFile type=\"file\" onChange={onChangeHandler} id=\"file-input\" name=\"file-input\"/>\n </CCol>\n </CFormGroup>\n <CCardFooter>\n <CButton type=\"submit\" onClick={onClickHandler} size=\"sm\" color=\"primary\"><CIcon name=\"cil-scrubber\" /> アップロード</CButton>\n </CCardFooter>\n </CCardBody>\n </CCard>\n </div>\n )\n}\n\nexport default Uploader\n"],"sourceRoot":""}
|
{"version":3,"sources":["views/Uploader/index.js"],"names":["Uploader","useState","file","setFile","row","md","htmlFor","xs","type","onChange","e","target","files","id","name","onClick","data","FormData","append","axios","post","then","res","console","log","statusText","size","color"],"mappings":"mPA4DeA,UA3Cf,WAEE,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAiBA,OACE,8BACE,eAAC,IAAD,WACA,cAAC,IAAD,mDAGA,eAAC,IAAD,WACA,eAAC,IAAD,CAAYC,KAAG,EAAf,UACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,cAAC,IAAD,CAAQC,QAAQ,aAAhB,wIAEF,cAAC,IAAD,CAAMC,GAAG,KAAKF,GAAG,IAAjB,SACE,cAAC,IAAD,CAAYG,KAAK,OAAOC,SA3BhC,SAAyBC,GACvBP,EAAQO,EAAEC,OAAOC,MAAM,KA0BkCC,GAAG,aAAaC,KAAK,oBAG5E,cAAC,IAAD,UACA,eAAC,IAAD,CAASN,KAAK,SAASO,QA3B3B,SAAwBL,GACtB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,IAAMC,KAAK,0CAA2CJ,EAAM,IAEzDK,MAAK,SAAAC,GACJC,QAAQC,IAAIF,EAAIG,gBAoB8BC,KAAK,KAAKC,MAAM,UAAhE,UAA0E,cAAC,IAAD,CAAOb,KAAK,iBAAtF","file":"static/js/7.11b34811.chunk.js","sourcesContent":["import React, {useState} from 'react';\nimport axios from 'axios';\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\n\nfunction Uploader() {\n\n const [file, setFile] = useState(null);\n\n function onChangeHandler(e){\n setFile(e.target.files[0])\n }\n\n function onClickHandler(e) {\n const data = new FormData()\n data.append('file', file);\n //console.log(file);\n axios.post(\"http://natnats.mobilous.com:8000/upload\", data, { // receive two parameter endpoint url ,form data\n })\n .then(res => { // then print response status\n console.log(res.statusText)\n });\n }\n\n return (\n <div>\n <CCard>\n <CCardHeader>\n アップロード\n </CCardHeader>\n <CCardBody>\n <CFormGroup row>\n <CCol md=\"3\">\n <CLabel htmlFor=\"date-input\">アップロードするファイルを選んでください</CLabel>\n </CCol>\n <CCol xs=\"12\" md=\"9\">\n <CInputFile type=\"file\" onChange={onChangeHandler} id=\"file-input\" name=\"file-input\"/>\n </CCol>\n </CFormGroup>\n <CCardFooter>\n <CButton type=\"submit\" onClick={onClickHandler} size=\"sm\" color=\"primary\"><CIcon name=\"cil-scrubber\" /> アップロード</CButton>\n </CCardFooter>\n </CCardBody>\n </CCard>\n </div>\n )\n}\n\nexport default Uploader\n"],"sourceRoot":""}
|
||||||
@ -1,2 +1,2 @@
|
|||||||
!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&s.push(c[o][0]),c[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return a.push.apply(a,f||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==c[i]&&(n=!1)}n&&(a.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},c={3:0},a=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",1:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",c=u.p+n,a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var f=(d=a[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===c))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===c)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||c,a=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=n,delete o[e],s.parentNode.removeChild(s),r(a)},s.href=c,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=c[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=c[e]=[t,n]}));t.push(r[2]=n);var a,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"460712f0",1:"391c183b",5:"1649b70d",6:"d75b4d5a",7:"334c7665",8:"691d6ee0",9:"4d60c4c5",10:"39a27b50",11:"c5e037e0",12:"118179c3",13:"90d53c71",14:"9a037818",15:"360cec3e"}[e]+".chunk.js"}(e);var f=new Error;a=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=c[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}c[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:i})}),12e4);i.onerror=i.onload=a,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([]);
|
!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",1:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(d=c[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"454187f8",1:"d251e391",5:"f92d0105",6:"e790f301",7:"11b34811",8:"691d6ee0",9:"4d60c4c5",10:"39a27b50",11:"c5e037e0",12:"118179c3",13:"90d53c71",14:"9a037818",15:"360cec3e"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([]);
|
||||||
//# sourceMappingURL=runtime-main.06e6f9df.js.map
|
//# sourceMappingURL=runtime-main.caf2d1a3.js.map
|
||||||
File diff suppressed because one or more lines are too long
@ -47,7 +47,8 @@
|
|||||||
"react-redux": "^7.2.3",
|
"react-redux": "^7.2.3",
|
||||||
"react-router-dom": "^5.2.0",
|
"react-router-dom": "^5.2.0",
|
||||||
"redux": "^4.0.5",
|
"redux": "^4.0.5",
|
||||||
"sass": "^1.32.8"
|
"sass": "^1.32.8",
|
||||||
|
"universal-cookie": "^4.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.13.14",
|
"@babel/core": "^7.13.14",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import React, { Suspense } from 'react'
|
import React, { Suspense } from 'react'
|
||||||
import Cookies from 'js-cookie';
|
//import Cookies from 'js-cookie';
|
||||||
|
import Cookies from 'universal-cookie';
|
||||||
import {
|
import {
|
||||||
Redirect,
|
Redirect,
|
||||||
Route,
|
Route,
|
||||||
@ -19,7 +20,8 @@ const loading = (
|
|||||||
const TheContent = () => {
|
const TheContent = () => {
|
||||||
|
|
||||||
function get_token_from_storage_or_cookie() {
|
function get_token_from_storage_or_cookie() {
|
||||||
const shib = Cookies.get()
|
const cookies = new Cookies();
|
||||||
|
const shib = cookies.get('_shibsession_64656661756c7468747470733a2f2f66736273736f2e73756d6173656e2e6e65742f73686962626f6c657468')
|
||||||
console.log(shib);
|
console.log(shib);
|
||||||
return shib;
|
return shib;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user