Change login url
This commit is contained in:
@ -48,7 +48,7 @@ const TheContent = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const result = await axios.post('https://fsbsso.sumasen.net/csv', data, axiosConfig)
|
||||
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
|
||||
.catch((err) => {
|
||||
console.log("AXIOS ERROR: ", err);
|
||||
});
|
||||
@ -65,7 +65,7 @@ const TheContent = () => {
|
||||
const key = "api"
|
||||
const pwd = "c558a56c63c44f65956adde8863ecc3558f3e55a465d4338bb2e7d2692866fd8";
|
||||
|
||||
const result = await axios.get('https://fsbsso.sumasen.net/users?email=' + user_email, {
|
||||
const result = await axios.get('https://fbssso.ts.bizside.biz/users?email=' + user_email, {
|
||||
auth: {
|
||||
username: key,
|
||||
password: pwd
|
||||
|
||||
@ -13,7 +13,7 @@ const TheHeaderDropdown = () => {
|
||||
|
||||
function launchsso() {
|
||||
console.log("launch sso");
|
||||
window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login", "_self");
|
||||
window.open("https://fbssso.ts.bizside.biz/Shibboleth.sso/Login", "_self");
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@ -57,7 +57,7 @@ function Index() {
|
||||
async function fetchData() {
|
||||
// You can await here
|
||||
if(selectedcons !== "" && report !== "" && isDate() == true) {
|
||||
const result = await axios('https://fsbsso.sumasen.net/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
|
||||
const result = await axios('https://fbssso.ts.bizside.biz/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
|
||||
setValidDates(result.data.record);
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ function Uploader(props) {
|
||||
// body: data,
|
||||
// headers: {'Content-Type': 'multipart/form-data' }
|
||||
// })
|
||||
axios.post("https://fsbsso.sumasen.net/upload?email=" + props.email, data)
|
||||
axios.post("https://fbssso.ts.bizside.biz/upload?email=" + props.email, data)
|
||||
.then(res => { // then print response status
|
||||
console.log(res.statusText)
|
||||
if (res.statusText == 'OK') {
|
||||
|
||||
Reference in New Issue
Block a user