update for prod
This commit is contained in:
@ -33,7 +33,7 @@ import "react-datepicker/dist/react-datepicker.css";
|
||||
|
||||
function Index() {
|
||||
|
||||
const baseUrl = "https://openshield.ts.bizside.biz";
|
||||
const baseUrl = "https://openshield.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://openshield.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://openshield.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://fbssso.ts.bizside.biz/upload?email=" + props.email, data)
|
||||
axios.post("https://fbssso.bizside.biz/upload?email=" + props.email, data)
|
||||
.then(res => { // then print response status
|
||||
console.log(res.statusText)
|
||||
if (res.statusText == 'OK') {
|
||||
|
||||
@ -24,7 +24,7 @@ const Dashboard = (props) => {
|
||||
{props.gotuserid ? ( // Conditional rendering based on props.gotuserid
|
||||
<>
|
||||
<h3>ワンタイムパスワード: {props.userid}</h3>
|
||||
<a target="_blank" href="https://openshield.ts.bizside.biz/appexe/natnats/23/bin/mobileweb2/index.html">
|
||||
<a target="_blank" href="https://openshield.bizside.biz/appexe/natnats/23/bin/mobileweb2/index.html">
|
||||
<h1>FBS Web app</h1>
|
||||
</a>
|
||||
</>
|
||||
|
||||
@ -26,7 +26,7 @@ function Sso() {
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user