changed style of SaveFileUploadingDialog
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//TODO: controllable rate limits
|
||||
|
||||
class AuthService {
|
||||
private API_BASE = '/api/auth'
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ export class SaveParserBackendService {
|
||||
return ''
|
||||
}
|
||||
|
||||
//TODO: save size limit 30 mb
|
||||
async uploadSave(game: string, file: File): Promise<UploadSaveResponse> {
|
||||
const url = `${this.API_BASE}/uploadSave?game=${encodeURIComponent(game)}`
|
||||
const response = await fetch(url, {
|
||||
|
||||
Reference in New Issue
Block a user