Skip to content

Commit

Permalink
Fix/fusion ci domain (#2523)
Browse files Browse the repository at this point in the history
* fix(domain): updating fusion domains to new domain

* chore: changeset
  • Loading branch information
eikeland authored Nov 4, 2024
1 parent f21d582 commit e188193
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .changeset/flat-bikes-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@equinor/fusion-framework-cli': patch
---

## changes:

- changing ci urls to new domain
2 changes: 1 addition & 1 deletion packages/cli/docs/api-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Fusion Framework CLI - Commands

## Authentication

To run any app commands involving the [app api](https://fusion-s-apps-ci.azurewebsites.net/swagger/index.html), you need to provide a valid fusion access_token.
To run any app commands involving the [app api](https://apps.ci.api.fusion-dev.net/swagger/index.html), you need to provide a valid fusion access_token.

The CLI will look for the env varable `FUSION_TOKEN`.

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ fusion-framework-cli app build-tag -v 1.0.3 -t preview -e ci

### Authentication

To run any app commands involving the [app api](https://fusion-s-apps-ci.azurewebsites.net/swagger/index.html), you need to provide a valid fusion access_token.
To run any app commands involving the [app api](https://apps.ci.api.fusion-dev.net/swagger/index.html), you need to provide a valid fusion access_token.

The CLI will look for the env varable `FUSION_TOKEN`.

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/bin/create-dev-serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const createDevServer = async (options: {
appProxyPlugin({
proxy: {
path: '/apps-proxy',
target: 'https://fusion-s-apps-ci.azurewebsites.net/',
target: 'https://apps.ci.api.fusion-dev.net/',
onProxyReq: proxyRequestLogger,
},
app: {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/lib/plugins/app-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineConfig({
appProxyPlugin({
proxy: {
path: '/app-proxy',
target: 'https://fusion-s-apps-ci.azurewebsites.net/',
target: 'https://apps.ci.api.fusion-dev.net/',
onProxyReq: (proxyReq, req, res) => {
proxyReq.on('response', (res) => { console.log(res.statusCode) });
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/lib/plugins/app-proxy/app-proxy-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export type AppProxyPluginOptions = {
* const plugin = appProxyPlugin({
* proxy: {
* path: '/app-proxy',
* target: 'https://fusion-s-apps-ci.azurewebsites.net/',
* target: 'https://apps.ci.api.fusion-dev.net',
* onProxyReq: (proxyReq, req, res) => {
* proxyReq.on('response', (res) => { console.log(res.statusCode) });
* },
Expand Down

0 comments on commit e188193

Please sign in to comment.