update for OS3

This commit is contained in:
Mohamed Nouffer
2022-06-17 15:54:11 +05:30
parent 4b82938acb
commit 15fb951e86
22 changed files with 38 additions and 38 deletions

View File

@ -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);
});

View File

@ -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 => {

View File

@ -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') {

View File

@ -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>