wiki-server 0.19.4 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/server.coffee CHANGED
@@ -226,7 +226,7 @@ module.exports = exports = (argv) ->
226
226
  plugins.map (plugin) ->
227
227
  pluginName = plugin.slice(12, -7)
228
228
  pluginPath = '/plugins/' + pluginName
229
- app.use(pluginPath, express.static(path.join(argv.packageDir, plugin), staticPathOptions))
229
+ app.use(pluginPath, cors, express.static(path.join(argv.packageDir, plugin), staticPathOptions))
230
230
 
231
231
  # Add static routes to the security client.
232
232
  if argv.security != './security'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wiki-server",
3
3
  "description": "A Federated Wiki Server",
4
- "version": "0.19.4",
4
+ "version": "0.20.0",
5
5
  "author": {
6
6
  "name": "Ward Cunningham",
7
7
  "email": "ward@c2.com",
@@ -53,7 +53,7 @@
53
53
  "mocha": "^8.0.1",
54
54
  "should": "^13.2.3",
55
55
  "supertest": "^4.0.2",
56
- "wiki-client": "^0.22.1",
56
+ "wiki-client": "^0.23.0",
57
57
  "wiki-plugin-activity": "^0.4.6",
58
58
  "wiki-plugin-video": "^0.2.10"
59
59
  },