I tried to change shebang, but: Internal Server Error still appears.

#!/usr/bin/env dub run --single
/+ dub.sdl:
        name "hello"
        dependency "arsd-official" version="~>4.0.1"
        
+/
import std.stdio;
void main()
{
   writeln(`Content-type: text/html`);
   writeln(``);
writeln(`<body style="background: lightgreen">CGI D Example</body>`);

}

Reply via email to