Skip to content

Commit

Permalink
Hardcoded Codespaces domain
Browse files Browse the repository at this point in the history
  • Loading branch information
wictorwilen committed May 27, 2021
1 parent d538039 commit d23ff55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/yoteams-build-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yoteams-build-core",
"version": "1.2.0-preview",
"version": "1.2.0-preview2",
"description": "Core build Gulp tasks for Yo Teams, Microsoft Teams Apps Generator (https://aka.ms/yoteams)",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/yoteams-build-core/src/codespacesTasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const codespacesTasks = (gulp: GulpClient.Gulp, config: any) => {
const codespaceEnv = fs.readJSONSync(codespaceEnvConfig);
const codespaceName = codespaceEnv.CODESPACE_NAME;

process.env.PUBLIC_HOSTNAME = `${codespaceName}-${process.env.PORT}${process.env.RAILS_DEVELOPMENT_HOSTS}`;
process.env.PUBLIC_HOSTNAME = `${codespaceName}-${process.env.PORT}.githubpreview.dev`;
log("[Codespace] Public url: " + process.env.PUBLIC_HOSTNAME);
gulp.task("codespaces-serve", dependencies(gulp, "manifest", "serve"));
} catch (ex) {
Expand Down

0 comments on commit d23ff55

Please sign in to comment.