mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-10 09:02:49 +00:00
play sounds from web ui - store uploaded sounds in database
This commit is contained in:
@@ -46,7 +46,7 @@ export class Uploader extends React.Component<IProps, IState> {
|
||||
formData.append('file', file);
|
||||
|
||||
axios
|
||||
.post('/api/upload', formData, this.config)
|
||||
.post('/api/sound', formData, this.config)
|
||||
.then(() => {
|
||||
this.setState({
|
||||
percentCompleted: 0,
|
||||
|
||||
Reference in New Issue
Block a user