I have created a war file and trying to deploy it on bluemix. App.js
var express = require("express");
var app = express();
var path = require("path");app.use("/", express.static(__dirname));
app.get('/',function(req,res){
res.sendFile(path.join(__dirname+'/ingestion-scala-apidocs/index.html'));
});
app.set('port', process.env.PORT); console.log(port);
manifest.yml
applications:
- name: connectors
path: connectors.war memory: 900M
instances: 1
host: connectors
domain: mybluemix.net
After pushing it to bluemix and clicking on hostname I get the following error:
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 404 (Not Found)
Any leads will be appreciated.
via kamini
No comments:
Post a Comment