mirror of
https://github.com/qwerfd2/Groove_Coaster_2_Server.git
synced 2025-12-22 03:30:18 +00:00
Update gradle versioning and package name
This commit is contained in:
@@ -21,6 +21,9 @@ async def batch_handler(request: Request):
|
|||||||
query = batch_token.select().where(batch_token.c.token == token)
|
query = batch_token.select().where(batch_token.c.token == token)
|
||||||
result = await database.fetch_one(query)
|
result = await database.fetch_one(query)
|
||||||
|
|
||||||
|
if not result:
|
||||||
|
return HTMLResponse(content="Invalid token", status_code=400)
|
||||||
|
|
||||||
if result['expire_at'] < int(time.time()):
|
if result['expire_at'] < int(time.time()):
|
||||||
return HTMLResponse(content="Token expired", status_code=400)
|
return HTMLResponse(content="Token expired", status_code=400)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.example.server_checker"
|
namespace = "jp.co.taito.groovecoasterzero"
|
||||||
compileSdk = flutter.compileSdkVersion
|
compileSdk = flutter.compileSdkVersion
|
||||||
ndkVersion = flutter.ndkVersion
|
ndkVersion = flutter.ndkVersion
|
||||||
|
|
||||||
@@ -14,6 +14,7 @@ android {
|
|||||||
sourceCompatibility = JavaVersion.VERSION_11
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
targetCompatibility = JavaVersion.VERSION_11
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||||
@@ -21,13 +22,13 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId = "com.example.server_checker"
|
applicationId = "jp.co.taito.groovecoasterzero"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||||
minSdk = flutter.minSdkVersion
|
minSdk = flutter.minSdkVersion
|
||||||
targetSdk = flutter.targetSdkVersion
|
targetSdk = flutter.targetSdkVersion
|
||||||
versionCode = flutter.versionCode
|
versionCode = 76
|
||||||
versionName = flutter.versionName
|
versionName = "1.0.18"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
7a8131d9aa79e42356d6df84508d44f230a6df95
|
|
||||||
Reference in New Issue
Block a user