Skip to content

Commit

Permalink
Merge pull request openshift-pipelines#45 from vikram-raj/fix-cache-i…
Browse files Browse the repository at this point in the history
…ssue

OCPBUGS-26531: Fix cache issue for dev env
  • Loading branch information
openshift-merge-bot[bot] authored Jan 9, 2024
2 parents 1b711b3 + 66e2bdc commit 01cd8ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-env node */

import { ConsoleRemotePlugin } from '@openshift-console/dynamic-plugin-sdk-webpack';
import * as path from 'path';
import { Configuration as WebpackConfiguration } from 'webpack';
import { Configuration as WebpackDevServerConfiguration } from 'webpack-dev-server';
import * as path from 'path';
import { ConsoleRemotePlugin } from '@openshift-console/dynamic-plugin-sdk-webpack';

const CopyWebpackPlugin = require('copy-webpack-plugin');

Expand Down Expand Up @@ -90,6 +90,7 @@ const config: Configuration = {
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
'Access-Control-Allow-Headers':
'X-Requested-With, Content-Type, Authorization',
'Cache-Control': 'no-store',
},
devMiddleware: {
writeToDisk: true,
Expand Down

0 comments on commit 01cd8ec

Please sign in to comment.