Skip to content

Commit

Permalink
[Cloud Run] Add license to file (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
averikitsch authored Aug 21, 2020
1 parent 0e65e14 commit eed65d6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion run/markdown-preview/editor/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

const {app} = require('./app');
const pkg = require('./package.json');
const PORT = process.env.PORT || 8080;

app.listen(PORT, () =>
console.log(`${pkg.name} listening on port ${PORT}`)
);
);

0 comments on commit eed65d6

Please sign in to comment.