update for prod

This commit is contained in:
Mohamed Nouffer
2022-06-15 23:04:49 +05:30
parent d281f120a8
commit bb7989d080
14 changed files with 26 additions and 26 deletions

View File

@ -29,7 +29,7 @@ const TheContent = () => {
async function fetchSession() {
//setSsoSession('{ "expiration": 468, "client_address": "111.223.144.163", "protocol": "urn:oasis:names:tc:SAML:2.0:protocol", "identity_provider": "https://sso.ts.bizside.biz/idp/shibboleth", "authn_instant": "2021-09-03T08:26:41.248Z", "authncontext_class": "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport", "attributes": [ { "name": "mail", "values": [ "akira.miyata@mobilous.com" ] } ] }')
const result = await axios('https://fbssso.ts.bizside.biz/Shibboleth.sso/Session');
const result = await axios('https://fbssso.bizside.biz/Shibboleth.sso/Session');
if(JSON.stringify(SsoSession) !== JSON.stringify(result.data)) {
console.log(result.data);
setSsoSession(result.data);
@ -49,7 +49,7 @@ const TheContent = () => {
}
};
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
const result = await axios.post('https://fbssso.bizside.biz/csv', data, axiosConfig)
.catch((err) => {
console.log("AXIOS ERROR: ", err);
});
@ -66,7 +66,7 @@ const TheContent = () => {
const key = "api"
const pwd = "c558a56c63c44f65956adde8863ecc3558f3e55a465d4338bb2e7d2692866fd8";
const result = await axios.get('https://fbssso.ts.bizside.biz/users?email=' + user_email, {
const result = await axios.get('https://fbssso.bizside.biz/users?email=' + user_email, {
auth: {
username: key,
password: pwd

View File

@ -51,7 +51,7 @@ const TheHeader = () => {
/>
<CHeaderBrand className="mx-auto d-lg-none" to="/">
{/* <CIcon name="logo" height="48" alt="Logo"/> */}
<h2>OS</h2>
<h2>テスト</h2>
</CHeaderBrand>
<CHeaderNav className="d-md-down-none mr-auto">

View File

@ -13,7 +13,7 @@ const TheHeaderDropdown = () => {
function launchsso() {
console.log("launch sso");
window.open("https://fbssso.ts.bizside.biz/Shibboleth.sso/Login", "_self");
window.open("https://fbssso.bizside.biz/Shibboleth.sso/Login", "_self");
}
return (

View File

@ -27,7 +27,7 @@ const TheSidebar = () => {
onShowChange={(val) => dispatch({type: 'set', sidebarShow: val })}
>
<CSidebarBrand className="d-md-down-none" to="/">
<h2>OS</h2>
<h2>テスト</h2>
<CIcon
className="c-sidebar-brand-minimized"
name="sygnet"