AngularJS-Service implementiert; Reissorte des Tages wird per http über angular nachgeladen

This commit is contained in:
Sebastian Seedorf
2016-03-29 17:51:00 +02:00
parent cbadac55c5
commit c521f2670b
4 changed files with 21 additions and 0 deletions

View File

@@ -214,6 +214,10 @@ app.post('/login', function(req, res) {
});
});
app.get('/api/specialOffer.json', function(req, res) {
res.json({ rice: "Neuer Waldreis" });
});
var server = app.listen(3000, function() {
var host = server.address().address;
var port = server.address().port;