Skip to content

Commit

Permalink
Revert grpc#738
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Jun 23, 2020
1 parent 88d70ec commit d9baa7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions javascript/net/grpc/web/grpc_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,8 @@ void PrintTypescriptFile(Printer* printer, const FileDescriptor* file,
printer->Indent();
printer->Print(
vars,
"new URL('/$package_dot$$service_name$/$method_name$', "
"this.hostname_).toString(),\n"
"this.hostname_ +\n"
" '/$package_dot$$service_name$/$method_name$',\n"
"request,\n"
"metadata || {},\n"
"this.methodInfo$method_name$);\n");
Expand Down Expand Up @@ -764,8 +764,8 @@ void PrintTypescriptFile(Printer* printer, const FileDescriptor* file,
printer->Indent();
printer->Print(
vars,
"new URL('/$package_dot$$service_name$/$method_name$', "
"this.hostname_).toString(),\n"
"this.hostname_ +\n"
" '/$package_dot$$service_name$/$method_name$',\n"
"request,\n"
"metadata || {},\n"
"this.methodInfo$method_name$,\n"
Expand Down

0 comments on commit d9baa7d

Please sign in to comment.