first commit

This commit is contained in:
kicap1992
2022-07-02 21:11:51 +08:00
parent 4c5834ec68
commit 04c5cae894
4 changed files with 3 additions and 4 deletions

View File

@ -1 +0,0 @@
{"presets": ["next/babel"]}

View File

@ -27,7 +27,7 @@ function DataSet(props) {
}); });
himpunan_fuzzy = props.data.himpunan_fuzzy; himpunan_fuzzy = props.data.himpunan_fuzzy;
url = "http://127.0.0.1:5000/"; url = "https://myfuzzybe2.herokuapp.com//";
table_rule_base = rule_base.map((item, index) => { table_rule_base = rule_base.map((item, index) => {
return ( return (

View File

@ -71,7 +71,7 @@ function InputData(props) {
setLoading(true); setLoading(true);
try { try {
//fetch api post //fetch api post
const response = await fetch("http://127.0.0.1:5000/", { const response = await fetch("https://myfuzzybe2.herokuapp.com/", {
method: "POST", method: "POST",
body: formdata, body: formdata,
}) })

View File

@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true, reactStrictMode: false,
} }
module.exports = nextConfig module.exports = nextConfig