aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordubdub2022-10-12 16:44:38 -0400
committerdubdub2022-10-12 16:44:38 -0400
commitd9679f3dd0932bccfab7d618211500b7f99eee98 (patch)
tree0bba86d5ec4e0c84e2b6b6f4ff561fbff27423c4
parentabd39afecf0758749ba34ffb4007ccbef100cc96 (diff)
Use domain name of dubdub.mit.edu
-rw-r--r--src/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.js b/src/App.js
index 7cf9d75..808506e 100644
--- a/src/App.js
+++ b/src/App.js
@@ -19,11 +19,11 @@ function App() {
playNote={(midiNumber) => {
console.log(midiNumber);
const freq = 880 * (2**((midiNumber - 69)/12));
- fetch('http://10.242.6.228:5000/startfreq/' + freq);
+ fetch('http://dubdub.mit.edu:5000/startfreq/' + freq);
}}
stopNote={(midiNumber) => {
const freq = 880 * (2**((midiNumber - 69)/12));
- fetch('http://10.242.6.228:5000/stopfreq/' + freq);
+ fetch('http://dubdub.mit.edu:5000/stopfreq/' + freq);
}}
width={1000}
keyboardShortcuts={keyboardShortcuts}