Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1013806 // Serve mp3.zip at port 4444

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (4131L/30K).

!7

p {
  serveHttp(4444);
}

html {
  if (eq(uri, "/mp3.zip"))
    ret serveFileWithName(homeFile("mp3.zip"));
  ret "";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013806
Snippet name: Serve mp3.zip at port 4444
Eternal ID of this version: #1013806/3
Text MD5: f27dffa90aa870d8ffdedf350cdf8d31
Transpilation MD5: f1e0650ab04cc7141f1e3f27c7b800d3
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-01 12:26:08
Source code size: 133 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 909
Version history: 2 change(s)
Referenced in: [show references]