We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9181b4 commit 2b6c4ecCopy full SHA for 2b6c4ec
js/m_apps/File.js
@@ -51,7 +51,12 @@ define([
51
]
52
}
53
54
- this.dataPath = window.location.origin + com_Const.DATA_PATH + "sample_csv/";
+ if (vpConfig.extensionType === 'notebook') {
55
+ this.dataPath = window.location.origin + com_Const.DATA_PATH + "sample_csv/";
56
+ } else if (vpConfig.extensionType === 'chrome') {
57
+ // this.dataPath = com_Const.DATA_PATH + "sample_csv/";
58
+ this.dataPath = 'https://raw.githubusercontent.com/visualpython/visualpython/main/data/sample_csv/';
59
+ }
60
61
this.state = {
62
fileExtension: 'csv',
0 commit comments