Skip to content

Commit

Permalink
Update FoxyInternalAPI class
Browse files Browse the repository at this point in the history
  • Loading branch information
WinG4merBR committed Jan 22, 2025
1 parent 09b96e3 commit b766288
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FoxyInternalAPI(
GetUserRolesFromAGuild().apply { getUserRolesFromAGuild(foxy) }
}

staticFiles("/assets", File("foxy/src/main/resources/profile"))
staticFiles("/assets", File(this::class.java.classLoader.getResource("profile")!!.file))
}
}.start(wait = false)
}
Expand Down

0 comments on commit b766288

Please sign in to comment.