mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
java support
This commit is contained in:
parent
e050d5ae35
commit
5d8f52afd3
3 changed files with 16 additions and 6 deletions
13
api/main.go
13
api/main.go
|
@ -41,16 +41,17 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
message.Decode(&inbound)
|
||||
|
||||
whitelist := []string{
|
||||
"python", "python2", "python3",
|
||||
"ruby",
|
||||
"javascript", "js", "node",
|
||||
"c",
|
||||
"cpp", "c++",
|
||||
"go",
|
||||
"r",
|
||||
"php",
|
||||
"c#", "csharp", "cs",
|
||||
"go",
|
||||
"java",
|
||||
"nasm", "asm",
|
||||
"javascript", "js", "node",
|
||||
"php",
|
||||
"python", "python2", "python3",
|
||||
"r",
|
||||
"ruby",
|
||||
}
|
||||
|
||||
// check if the supplied language is supported
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue