update for OS3
This commit is contained in:
@ -49,7 +49,7 @@ const TheContent = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const result = await axios.post('https://openshield.ts.bizside.biz/csv', data, axiosConfig)
|
||||
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
|
||||
.catch((err) => {
|
||||
console.log("AXIOS ERROR: ", err);
|
||||
});
|
||||
|
||||
@ -33,7 +33,7 @@ import "react-datepicker/dist/react-datepicker.css";
|
||||
|
||||
function Index() {
|
||||
|
||||
const baseUrl = "https://openshield.ts.bizside.biz";
|
||||
const baseUrl = "https://fbssso.ts.bizside.biz";
|
||||
|
||||
|
||||
const [data, setData] = useState([]);
|
||||
@ -48,7 +48,7 @@ function Index() {
|
||||
useEffect(() => {
|
||||
async function fetchData() {
|
||||
// You can await here
|
||||
const result = await axios('https://openshield.ts.bizside.biz/getConstructionList');
|
||||
const result = await axios('https://fbssso.ts.bizside.biz/getConstructionList');
|
||||
setData(result.data);
|
||||
}
|
||||
fetchData();
|
||||
@ -58,7 +58,7 @@ function Index() {
|
||||
async function fetchData() {
|
||||
// You can await here
|
||||
if(selectedcons !== "" && report !== "" && isDate() == true) {
|
||||
const result = await axios('https://openshield.ts.bizside.biz/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);
|
||||
}
|
||||
}
|
||||
@ -124,7 +124,7 @@ function Index() {
|
||||
}
|
||||
}
|
||||
|
||||
// function downloadReport(url) {
|
||||
// function downloadReport(url)
|
||||
// console.log(url);
|
||||
// fetch(url)
|
||||
// .then(response => {
|
||||
|
||||
@ -36,7 +36,7 @@ function Uploader(props) {
|
||||
// body: data,
|
||||
// headers: {'Content-Type': 'multipart/form-data' }
|
||||
// })
|
||||
axios.post("https://openshield.ts.bizside.biz/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') {
|
||||
|
||||
@ -22,7 +22,7 @@ const Dashboard = (props) => {
|
||||
<div className="card-body">
|
||||
<blockquote className="card-bodyquote">
|
||||
<h3>ワンタイムパスワード :{props.userid}</h3>
|
||||
<a target="_blank" href="https://openshield.ts.bizside.biz/appexe/natnats/23/bin/mobileweb2/index.html#page_44022"><h1>FBS Web app</h1></a>
|
||||
<a target="_blank" href="https://fbssso.ts.bizside.biz/appexe/natnats/23/bin/mobileweb2/index.html#page_44022"><h1>FBS Web app</h1></a>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user