Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような動的ビューを生成するエクスプレスフレームワークを使用して静的swfを提供する必要があります。
app.get('/*', function(req, res){ // serve swf here });
ありがとう
静的フォルダーを宣言できない理由はありますか?
app.use(express.static(__dirname + '/public'));
Express 静的フォルダーを使用したくない場合は、ファイル システムからファイルを読み取って直接提供することができます。
res.sendfile('path/to/my.swf');