diff --git a/src/common/common.js b/src/common/common.js index 44625bf7d32b..52b9edf1db42 100644 --- a/src/common/common.js +++ b/src/common/common.js @@ -11,7 +11,6 @@ export const NornStockScreenerMobileUrl = "https://play.google.com/store/apps/de export const zmcx16ProjectUrl = "https://project.zmcx16.moe" export const zmcx16BlogUrl = "https://blog.zmcx16.moe" export const NSSServerUrl = "https://zmcx16.moe" -export const NSSServerDNSOnlyUrl = "https://dns-only.zmcx16.moe" export const NSSDoQueryAPI = "/stock-minehunter/api/task/do-norn-screen" export const NornFinanceAPIServerDomain = "norn-finance.zmcx16.moe" export const NornFinanceAPIServerGithub = "https://github.com/zmcx16/Norn-Finance-API-Server" diff --git a/src/components/gpt-investing-assistant/commonParam.js b/src/components/gpt-investing-assistant/commonParam.js index d3b5c451ec47..a3c4be2e74c9 100644 --- a/src/components/gpt-investing-assistant/commonParam.js +++ b/src/components/gpt-investing-assistant/commonParam.js @@ -7,7 +7,6 @@ import OutlinedInput from '@mui/material/OutlinedInput' import ListItemText from '@mui/material/ListItemText' import MenuItem from '@mui/material/MenuItem' import Checkbox from '@mui/material/Checkbox' -import Stack from '@mui/material/Stack' import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider' import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs' import { DesktopDatePicker } from '@mui/x-date-pickers/DesktopDatePicker' diff --git a/src/components/gpt-investing-assistant/companyAnalysisParam.js b/src/components/gpt-investing-assistant/companyAnalysisParam.js index f01619c33ec1..d63d009fed88 100644 --- a/src/components/gpt-investing-assistant/companyAnalysisParam.js +++ b/src/components/gpt-investing-assistant/companyAnalysisParam.js @@ -125,7 +125,7 @@ const CompanyAnalysisParam = ({GPTResponseRef}) => { modalWindowRef.current.popModalWindow(

[Invalid] OpenAI API Key is empty.

) return } - GPTResponseRef.current.RequestGPTAPI(CompanyAnalysisAPI, body) + GPTResponseRef.current.requestGPTAPI(CompanyAnalysisAPI, body) }}>{'Analysis'} diff --git a/src/components/gpt-investing-assistant/gptInvestingAssistant.js b/src/components/gpt-investing-assistant/gptInvestingAssistant.js index 532ee8431e8e..8b50f160b530 100644 --- a/src/components/gpt-investing-assistant/gptInvestingAssistant.js +++ b/src/components/gpt-investing-assistant/gptInvestingAssistant.js @@ -15,7 +15,7 @@ import remarkGfm from 'remark-gfm' import CompanyAnalysisParam from './companyAnalysisParam' import OptionValuationAnalysisParam from './optionValuationAnalysisParam' import { AnalysisSelectDef } from '../../common/gpt/commonDef' -import { NSSServerDNSOnlyUrl } from '../../common/common' +import { NSSServerUrl } from '../../common/common' import ModalWindow from '../modalWindow' import commonStyle from '../common.module.scss' @@ -27,7 +27,7 @@ const GPTResponse = ({ GPTResponseRef, loadingAnimeRef, defaultOutput }) => { popModalWindow: null, popPureModal: null, }) - const { post, response } = useFetch(NSSServerDNSOnlyUrl) + const { post, response } = useFetch(NSSServerUrl) const drawGPTResponse = (isExample, data) => { return (