Update gradle versioning and package name

This commit is contained in:
UnitedAirforce
2025-09-25 14:22:30 +08:00
parent 175615587e
commit 5a67420b3d
4 changed files with 8 additions and 5 deletions

View File

@@ -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)

View File

@@ -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 {

View File

@@ -1 +0,0 @@
7a8131d9aa79e42356d6df84508d44f230a6df95