File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11import { axiosInstance } from "./axiosInstance" ;
22import urls from "./endpoint" ;
3- import { addColonAtLast , isLocalRemoteName } from "./Tools" ;
4-
5- // const axiosInstance = require('./axiosInstance');
6- // const urls = require('./endpoint');
7- // const tools = require('./Tools')
3+ import { addColonAtLast , isLocalRemoteName } from "./tools" ;
84
95/**
106 * getStats returns the current rclone stats.
@@ -57,7 +53,7 @@ export const setCurrentBandwidthSetting = (newRate) => {
5753 */
5854export const createNewPublicLink = ( remoteName , remotePath ) => {
5955 if ( ! isLocalRemoteName ( remoteName ) ) {
60- fs = addColonAtLast ( remoteName ) ;
56+ remoteName = addColonAtLast ( remoteName ) ;
6157 }
6258 return new Promise ( ( resolve , reject ) => {
6359 axiosInstance . post ( urls . createPublicLink , { fs : remoteName , remote : remotePath } ) . then ( res => {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments