Skip to content

Commit

Permalink
Rename because I'm a freak. Sorry siggi.
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwilliams committed Feb 15, 2020
1 parent 3e3af5b commit ccce7b0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/service/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ts_library(
name = "service",
srcs = glob(["*.ts"]),
deps = [
"//proto:service_ts_proto",
"//proto:buildbuddy_service_ts_proto",
"@npm//@types/fbemitter",
"@npm//fbemitter",
"@npm//protobufjs",
Expand Down
2 changes: 1 addition & 1 deletion app/service/rpc_service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { service } from 'buildbuddy/proto/service_ts_proto';
import { service } from 'buildbuddy/proto/buildbuddy_service_ts_proto';
import events from 'fbemitter';

class RpcService {
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions proto/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -131,23 +131,23 @@ ts_proto_library(
)

proto_library(
name = "service_proto",
srcs = ["service.proto"],
name = "buildbuddy_service_proto",
srcs = ["buildbuddy_service.proto"],
deps = [
":invocation_proto",
],
)

go_grpc_library(
name = "service_go_proto",
importpath = "proto/service",
proto = ":service_proto",
name = "buildbuddy_service_go_proto",
importpath = "proto/buildbuddy_service",
proto = ":buildbuddy_service_proto",
deps = [
":invocation_go_proto",
],
)

ts_proto_library(
name = "service_ts_proto",
deps = [":service_proto"],
name = "buildbuddy_service_ts_proto",
deps = [":buildbuddy_service_proto"],
)
File renamed without changes.
4 changes: 2 additions & 2 deletions server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ func main() {
log.Fatalf("Error initializing static file server: %v", err)
}

afs, err := static.NewStaticFileServer(*appDirectory, true)
afs, err := static.NewStaticFileServer(*appDirectory, false)
if err != nil {
log.Fatalf("Error initializing app server: %v", err)
}

http.Handle("/", redirectHTTPS(afs))
http.Handle("/static", redirectHTTPS(sfs))
http.Handle("/", redirectHTTPS(afs))

hostAndPort := fmt.Sprintf("%s:%d", *listen, *port)
log.Printf("HTTP listening on http://%s\n", hostAndPort)
Expand Down

0 comments on commit ccce7b0

Please sign in to comment.