Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
05527fcb
Commit
05527fcb
authored
Feb 01, 2022
by
KingRainbow44
Browse files
Use static reference instead of local
parent
b34ab5f8
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/http/handlers/GachaHandler.java
View file @
05527fcb
...
@@ -35,7 +35,7 @@ public final class GachaHandler implements Router {
...
@@ -35,7 +35,7 @@ public final class GachaHandler implements Router {
express
.
get
(
"/gacha"
,
GachaHandler:
:
gachaRecords
);
express
.
get
(
"/gacha"
,
GachaHandler:
:
gachaRecords
);
express
.
get
(
"/gacha/details"
,
GachaHandler:
:
gachaDetails
);
express
.
get
(
"/gacha/details"
,
GachaHandler:
:
gachaDetails
);
express
.
useStaticFallback
(
"/gacha/mappings"
,
this
.
gachaMappings
,
Location
.
EXTERNAL
);
express
.
useStaticFallback
(
"/gacha/mappings"
,
gachaMappings
,
Location
.
EXTERNAL
);
}
}
private
static
void
gachaRecords
(
Request
request
,
Response
response
)
{
private
static
void
gachaRecords
(
Request
request
,
Response
response
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment