我正在将 node.js 与 easyrtc 一起使用,需要重写 url 或在斜线后删除任何 url
请找到我的 server.js
var http = require("http");
var express = require("express");
var io = require("socket.io");
var easyrtc = require("easyrtc");
var httpApp = express();
httpApp.configure(function() {
httpApp.use(express.static(__dirname + "/static/"));
});
var webServer = http.createServer(httpApp).listen(9099);
var socketServer = io.listen(webServer, {"log level":5});
var rtc = easyrtc.listen(httpApp, socketServer);
我在哪里可以添加脚本来重写 url ?