Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zmcx16 committed Nov 5, 2024
1 parent 121fba2 commit c76eda3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/common/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/components/gpt-investing-assistant/commonParam.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const CompanyAnalysisParam = ({GPTResponseRef}) => {
modalWindowRef.current.popModalWindow(<h2>[Invalid] OpenAI API Key is empty.</h2>)
return
}
GPTResponseRef.current.RequestGPTAPI(CompanyAnalysisAPI, body)
GPTResponseRef.current.requestGPTAPI(CompanyAnalysisAPI, body)
}}>{'Analysis'}</Button>
</ThemeProvider>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 (
Expand Down

0 comments on commit c76eda3

Please sign in to comment.