diff --git a/plugins/c9.vfs.standalone/standalone.js b/plugins/c9.vfs.standalone/standalone.js index 9813ba1f..48955e9e 100644 --- a/plugins/c9.vfs.standalone/standalone.js +++ b/plugins/c9.vfs.standalone/standalone.js @@ -89,6 +89,11 @@ function plugin(options, imports, register) { source: "query", optional: true }, + config: { + type: "number", + source: "query", + optional: true + }, } }, function(req, res, next) { @@ -112,6 +117,8 @@ function plugin(options, imports, register) { opts.options.debug = req.params.debug !== undefined; res.setHeader("Cache-Control", "no-cache, no-store"); + if (req.params.config == 1) + return res.json(getConfig(configName, opts)); res.render(__dirname + "/views/standalone.html.ejs", { architectConfig: getConfig(configName, opts), configName: configName, diff --git a/plugins/c9.vfs.standalone/www/ide.html b/plugins/c9.vfs.standalone/www/ide.html new file mode 100644 index 00000000..5a720d14 --- /dev/null +++ b/plugins/c9.vfs.standalone/www/ide.html @@ -0,0 +1,194 @@ + + + + + Cloud9 + + + + + +
+
+
+ + +
+
+ +
+
+ + + + + +