Compare commits
No commits in common. "master" and "b05c75fae498198dce6369f42c1f77e3aa5af72d" have entirely different histories.
master
...
b05c75fae4
@ -1,11 +0,0 @@
|
||||
# Ignore node_modules
|
||||
node_modules/
|
||||
|
||||
# Ignore README
|
||||
README.md
|
||||
|
||||
# Ignore Dockerfile
|
||||
Dockerfile
|
||||
|
||||
#Ignore dotfiles
|
||||
.*
|
||||
14
Dockerfile
14
Dockerfile
@ -1,14 +0,0 @@
|
||||
FROM alpine:latest
|
||||
|
||||
# Install package manager dependencies
|
||||
RUN apk add --no-cache nodejs npm
|
||||
|
||||
# Copy in data
|
||||
WORKDIR /app/
|
||||
COPY . .
|
||||
|
||||
# Install npm dependencies
|
||||
RUN npm i
|
||||
|
||||
EXPOSE 8000/tcp
|
||||
CMD ["npm", "start"]
|
||||
1016
package-lock.json
generated
1016
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@ app.controller("mates", ["$scope", "$http", "$interval", function($scope, $http,
|
||||
|
||||
$scope.lastMate = "";
|
||||
|
||||
$http.get("mates")
|
||||
$http.get("/mates")
|
||||
.then((r) =>
|
||||
{
|
||||
var json = angular.fromJson(r.data);
|
||||
@ -33,7 +33,7 @@ app.controller("mates", ["$scope", "$http", "$interval", function($scope, $http,
|
||||
// Don't bother updating during a cooldown
|
||||
if ($scope.cooldown) return;
|
||||
|
||||
$http.post("mates")
|
||||
$http.post("/mates")
|
||||
.then((r) =>
|
||||
{
|
||||
var json = angular.fromJson(r.data);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user